mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add email for proposal submission
This commit is contained in:
parent
dfe0b8188e
commit
da91ff8371
6 changed files with 34 additions and 2 deletions
|
|
@ -28,6 +28,13 @@
|
|||
%a.btn.btn-link.control_label.template_help_link{ 'data-name' => 'registration_help' } Show Help
|
||||
= render partial: 'help', locals: { id: 'registration_help', show_event_variables: false }
|
||||
#proposal.tab-pane{ role: 'tabpanel' }
|
||||
= f.input :send_on_submitted_proposal, label: 'Send an email when the proposal is submitted', input_html: { 'data-name' => 'email_settings_proposal_submited_subject', 'class' => 'send_on_radio' }
|
||||
= f.input :submitted_proposal_subject
|
||||
= f.input :submitted_proposal_body, input_html: { rows: 10, cols: 20 }
|
||||
%a.btn.btn-link.control_label.load_template{ 'data-subject-input-id' => 'email_settings_submitted_proposal_subject', 'data-subject-text' => 'Your proposal has been submitted successfully', 'data-body-input-id' => 'email_settings_submitted_proposal_body', 'data-body-text' => "Dear {name}\n\nThank you for submitting your proposal {eventtitle}.\n\nOur team will review it and get back to you as soon as possible.\n\nFeel free to contact us with any questions or concerns.\n\nBest wishes\n\n{conference} Team" } Load Template
|
||||
%a.btn.btn-link.control_label.template_help_link{ 'data-name' => 'submitted_proposal_help' } Show Help
|
||||
= render partial: 'help', locals: { id: 'submitted_proposal_help', show_event_variables: true }
|
||||
|
||||
= f.input :send_on_accepted, label: 'Send an email when the proposal is accepted?', input_html: { 'data-name' => 'email_settings_accepted_subject', 'class' => 'send_on_radio' }
|
||||
= f.input :accepted_subject
|
||||
= f.input :accepted_body, input_html: { rows: 10, cols: 20 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue