changeset 2341:16e04336a1d2

moves the upload file below content textarea, in modify view
author sharky93 <rishabhr123@gmail.com>
date Wed, 24 Jul 2013 04:08:43 +0530
parents 5343c240b652
children 7d2593a7f065
files MoinMoin/themes/basic/templates/modify.html MoinMoin/themes/basic/templates/modify_text.html
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/modify.html	Wed Jul 24 02:34:44 2013 +0530
+++ b/MoinMoin/themes/basic/templates/modify.html	Wed Jul 24 04:08:43 2013 +0530
@@ -1,6 +1,6 @@
 {% extends "modify.html" %}
 {% from theme("modify_meta.html") import basic_meta_editor %}
-
+{% from theme("modify_text.html") import basic_data_editor %}
 
 {% block content %}
 <h2>{{ title }}</h2>
@@ -31,7 +31,7 @@
         </ul>    
         <div class="tab-content">
             <div class="tab-pane active" id="editor">
-                {{ data_editor(form['content_form'], item_name, class='input-block-level') }}
+                {{ basic_data_editor(form['content_form'], item_name, class='input-block-level') }}
             </div>
             <div class="tab-pane" id="gmeta">
                 {{ basic_meta_editor(form['meta_form']) }}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/themes/basic/templates/modify_text.html	Wed Jul 24 04:08:43 2013 +0530
@@ -0,0 +1,7 @@
+{% from "modify_binary.html" import data_editor as base_editor %}
+
+{% macro basic_data_editor(form, item_name) %}
+{{ gen.textarea(form['data_text'], rows=form.rows|string, cols=form.cols|string, **kwargs) }}
+{{ base_editor(form) }}
+<br />
+{% endmacro %}
\ No newline at end of file