Allow offline participants to take photos from their devices
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
.col
|
||||
.form-text.mb-1
|
||||
= t("offlines.form.end_image_select")
|
||||
= form.file_field :end_image, accept: "image/*", class: "form-control"
|
||||
= form.file_field :end_image, accept: "image/*", class: "form-control", capture: "user"
|
||||
.form-text.error-message style="display: none;" id="image-error-message"
|
||||
= t("puzzles.form.file_too_big")
|
||||
javascript:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
.col
|
||||
.form-text.mb-1
|
||||
= t("offlines.form.start_image_select")
|
||||
= form.file_field :images, accept: "image/*", class: "form-control"
|
||||
= form.file_field :images, accept: "image/*", class: "form-control", capture: "user"
|
||||
.form-text.error-message style="display: none;" id="image-error-message"
|
||||
= t("puzzles.form.file_too_big")
|
||||
javascript:
|
||||
|
||||
Reference in New Issue
Block a user