Add buttons for submission text template reset

This commit is contained in:
CactusPuppy 2021-03-06 22:56:01 -08:00
parent 71ce82c968
commit 8f465136c3
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 2 additions and 0 deletions

View file

@ -50,6 +50,7 @@
= f.input :submission_text, input_html: { rows: 5, data: { provide: 'markdown' }, placeholder: '' },
hint: markdown_hint('Only conference organizers will read this.')
%button.btn.btn-primary.primary-button{ type: 'button', id: 'sub_text_reset', data: { confirm: 'Do you really want to reset your submission text to the provided template?' } } Reset to Template
%p
You have used

View file

@ -63,6 +63,7 @@
= f.input :submission_text, input_html: { rows: 5, data: { provide: 'markdown' } },
hint: markdown_hint
%button.btn.btn-primary.primary-button{ type: 'button', id: 'sub_text_reset', data: { confirm: 'Do you really want to reset your submission text to the provided template?' } } Reset to Template
%p
You have used