Added target for surveys.
This commit is contained in:
parent
157a16d8f2
commit
9ce4ba6f6b
6 changed files with 12 additions and 15 deletions
|
|
@ -9,6 +9,7 @@
|
|||
= f.hidden_field :surveyable_id
|
||||
= f.input :title
|
||||
= f.input :description, input_html: { rows: 3 }
|
||||
= f.input :target, as: :select, collection: Survey.targets.keys, label: "When to ask"
|
||||
= f.input :start_date, as: :string, input_html: { class: 'datetimepicker' }
|
||||
= f.input :end_date, as: :string, input_html: { class: 'datetimepicker' }
|
||||
= f.submit 'Save', class: 'btn btn-primary'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue