Integrate tinymce, Draft status.
authorAditi <aditi.iitr@gmail.com>
Wed, 31 Jul 2013 08:38:12 +0000 (14:08 +0530)
committerAditi <aditi.iitr@gmail.com>
Wed, 31 Jul 2013 08:38:12 +0000 (14:08 +0530)
mediagoblin/templates/mediagoblin/blog/blog_post_edit_create.html

index b422f129fc6ec6acd2cb77dddeaf1e4b781d9617..b380d44cd208226b085d26e8324871e1a914940c 100644 (file)
 
 {% block mediagoblin_content %}
   <form action=""  method="POST">
-    <div class="form_box_xl">
-      <h1>{% trans %}Create a blog post.{% endtrans %}</h1>
-      {{ wtforms_util.render_divs(form) }}
+    <div class="blog_form_box_xl">
+      <h1>{% trans %}Create a Blog Post.{% endtrans %}</h1>
+      <b>Title</b>
+      <div class="blog_form_field_input input">
+        <h3>{{ form.title}}</h3>
+      </div>
+      <b>Description</b>
+      <div class="blog_form_field_input textarea">
+         <h3>{{form.description|safe}}</h3>
+      </div>
+      <b>Tags</b>
+      <div class="blog_form_field_input input">
+         <h3>{{form.tags}}</h3>
+      </div>
+      <b>License</b>
+      <div class="blog_form_field_input input">
+         <h3>{{form.license}}</h3>
+      </div>
       <div class="form_submit_buttons">
         {{ csrf_token }}
       <input type="submit" name="status" value="Publish" class="button_form">
+      <input type="submit" name="status" value="Draft" class="button_form">
       </div>
     </div>
   </form>