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

课程详情

修改课件
名称 {{ section.name }}
说明 {{ section.info | safe }}
是否需要文字作业 {% if section.has_textwork %} 是 {% else %} 否 {% endif %}
作业说明 {{ section.textwork_info }}
是否需要视频录制 {% if section.has_videowork %} 是 {% else %} 否 {% endif %}
要求录制时长(分钟) {{ section.video_length_req }}
是否需要上传图片 {% if section.has_imagework %} 是 {% else %} 否 {% endif %}
要求提交图片数量 {{ section.image_count_req }}
已添加的附件 {% for e in attachs %} {{ e.file_name }} {% endfor %}
已关联的视频 {% for e in section.sectionvideo_set.all %} {{ e.video.title }} {% endfor %}

添加关联的视频

{% csrf_token %} {% bootstrap_form section_video_form %} {% bootstrap_button '提交' %}
{% endblock %}