summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2020-09-25 10:33:47 +0530
committeradityacp2020-09-25 10:33:47 +0530
commit0c5f2afb084c0a4efd1715d53909ce2bb07b5883 (patch)
treef92603125924b8f9621b7e8ee6baf02d3f5b21b7 /yaksh/templates
parent8444e93ac160f64d03525940f738ff5aa52cd20a (diff)
downloadonline_test-0c5f2afb084c0a4efd1715d53909ce2bb07b5883.tar.gz
online_test-0c5f2afb084c0a4efd1715d53909ce2bb07b5883.tar.bz2
online_test-0c5f2afb084c0a4efd1715d53909ce2bb07b5883.zip
Change forms, models, settings and template
- Add max_upload_size in settings for video file - Change error messages in forms - Set the video_file field max_length - Fix add_lesson template for uploading video file
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/add_lesson.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/yaksh/templates/yaksh/add_lesson.html b/yaksh/templates/yaksh/add_lesson.html
index 8d889f3..329a8e0 100644
--- a/yaksh/templates/yaksh/add_lesson.html
+++ b/yaksh/templates/yaksh/add_lesson.html
@@ -92,13 +92,8 @@
<span class="badge badge-info">
{{lesson_form.video_file.help_text}}
</span>
- <div class="input-group mb-3">
- <div class="custom-file">
- {{lesson_form.video_file}}
- <label class="custom-file-label" for="id_video_file">
- Choose file
- </label>
- </div>
+ <div class="col-md-4">
+ {{lesson_form.video_file}}
</div>
<br>
Lesson Files: