{% extends "lms/templates/lms_base.html" %} {% block title %} {{ assignment.title if assignment.name else _("Assignment Details") }} {% endblock %} {% block page_content %}
{{ Header() }}
{{ AssignmentForm(assignment) }}
{% endblock %} {% macro Header() %}
{{ _("Assignment Details") }}
{{ _("Assignment List") }} {{ assignment.title if assignment.title else _("New Assignment") }}
{% endmacro %} {% macro AssignmentForm(assignment) %}
{{ _("Title") }}
{{ _("Give the assignment a title.") }}
{{ "Type" }}
{{ _("Select the format in which students will have to submit the assignment.") }}
{{ _("Question") }}
{{ _("Enter an assignment question.") }}
{% if assignment.question %}
{{ assignment.question }}
{% endif %}
{% endmacro %} {%- block script %} {{ super() }} {{ include_script('controls.bundle.js') }} {% endblock %}