diff --git a/main/template/default/course_description/edit.tpl b/main/template/default/course_description/edit.tpl index 0e071a54c3..a7930106b5 100644 --- a/main/template/default/course_description/edit.tpl +++ b/main/template/default/course_description/edit.tpl @@ -4,14 +4,23 @@ {{ message }} {% endfor %} -
- - {% for type in types %} - - type.title - - {% endfor %} -
+{% if is_allowed_to_edit %} +
+
+ + + +
+
+ {% for type in types %} + + {{type.title}} + + {% endfor %} +
+
+{% endif %} + {% if type.question %}
diff --git a/main/template/default/course_description/index.tpl b/main/template/default/course_description/index.tpl index 5a290d8237..b3ae416f9f 100644 --- a/main/template/default/course_description/index.tpl +++ b/main/template/default/course_description/index.tpl @@ -50,15 +50,25 @@ {% endfor %} {% if is_allowed_to_edit %} -
- {% for type in types %} - - {{type.title}} - - {% endfor %} - - - +
+
+ {% for type in types %} + + {{type.title}} + + {% endfor %} +
+
{% endif %} @@ -67,17 +77,17 @@
  • {% if is_allowed_to_edit %} -
    +
    {% if session_id == description.session_id %} + + {% else %} - +
    +
    + + + +
    {{form.return_form()}} \ No newline at end of file