Commit ec37dd23 by Asad Azam Committed by AsadAzam

Made the course run length field Required

parent 88628fed
......@@ -716,7 +716,7 @@ class CourseRunState(TimeStampedModel, ChangedByMixin):
course_run.pacing_type, course_run.has_valid_staff, course_run.is_valid_micromasters,
course_run.is_valid_professional_certificate, course_run.is_valid_xseries, course_run.language,
course_run.transcript_languages.all(), course_run.lms_course_id, course_run.min_effort,
course_run.max_effort, course_run.video_language
course_run.max_effort, course_run.video_language, course_run.length
])
......
......@@ -258,7 +258,7 @@
</div>
</div>
<div class="field-title">{% trans "LENGTH" %} <span class="optional float-right">Optional</span></div>
<div class="field-title">{% trans "LENGTH" %} <span class="required float-right">* Required for review</span></div>
<div class="row">
<div class="col col-6 help-text">
{% trans "The length of the course, in weeks, rounded to the nearest whole number." %}
......
......@@ -141,7 +141,7 @@
</div>
<div>
{% with object.length as field %}
{% include "publisher/_render_optional_field.html" %}
{% include "publisher/_render_required_field.html" %}
{% endwith %}
</div>
</div>
......
......@@ -305,7 +305,7 @@
</div>
<div>
{% with object.length as field %}
{% include "publisher/_render_optional_field.html" %}
{% include "publisher/_render_required_field.html" %}
{% endwith %}
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment