From f0155466a956480ea8520987a15357b00df5e234 Mon Sep 17 00:00:00 2001 From: filipecmedeiros Date: Tue, 15 Nov 2016 16:24:28 -0300 Subject: [PATCH] [Issue #361] --- courses/templates/subject/replicate.html | 53 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/courses/templates/subject/replicate.html b/courses/templates/subject/replicate.html index f2ee896..be9dfe1 100644 --- a/courses/templates/subject/replicate.html +++ b/courses/templates/subject/replicate.html @@ -14,20 +14,46 @@
{% csrf_token %} - {% for field in form %} -
- - - {% if field.auto_id == 'id_init_date' or field.auto_id == 'id_end_date'%} - - {% else %} - {% render_field field class='form-control' placeholder=field.label%} - {% endif %} - {{ field.help_text }} + +
+ + + {% trans 'Subject name' %} + +
+ +
+ + + {% trans 'Subject Description' %} + +
+ +
+ + + {% trans 'Subject init date' %} + +
+ +
+ + + {% trans 'Subject end date' %} + +
+
+ + + {% trans 'Is it visible?' %} +
- {% endfor %} + + +
+
- +
@@ -40,5 +66,8 @@ $('.date-picker').datepicker({ language: locale, }); + $(document).ready(function() { + $('#id_description').summernote({height: 300}); + }); {% endblock %} \ No newline at end of file -- libgit2 0.21.2