{% extends "bee_django_course/user_base.html" %} {% load bee_django_course_filter %} {% load bootstrap3 %} {% block content %}

{{ ucs.section.name }}

{% for e in ucs.section.sectionvideo_set.all %}
{{ e.video.title }} {{ e.video.info | linebreaks }}
{% endfor %}

{{ ucs.section.info | safe }}

{% for attach in ucs.section.sectionattach_set.all %}
教材: {{ attach.file_name }}
{% endfor %} {% if ucs.section.has_textwork %}
{{ ucs.section.textwork_info }}
{% endif %} {% if ucs.section.has_imagework %}
需要上传{{ ucs.section.image_count_req }}张图片
{% endif %} {% if ucs.section.has_videowork %}
需要录制{{ ucs.section.video_length_req }}分钟的作业
{% endif %}
{% if request.user == ucs.user_course.user %} 去做作业 {% endif %}

{% csrf_token %} {% bootstrap_form note_form %} {% bootstrap_button '提交' %}
{% include "bee_django_course/user/section_notes.html" with notes=all_notes %}
{% include "bee_django_course/user/section_notes.html" with notes=my_notes %}
{% endblock content %}