Add tests for booth controller

This commit is contained in:
nasia 2017-07-16 18:20:12 +03:00 committed by Stella Rouzi
parent 0528dbf8e8
commit c6b0a1f52e
6 changed files with 161 additions and 7 deletions

View file

@ -5,7 +5,7 @@
.row
.col-md-8
= semantic_form_for(@booth, url: @booth.new_record? ? admin_conference_booths_path(@conference.short_title) : admin_conference_booth_path(@conference.short_title, @booth.id), html: { multipart: true }) do |f|
= f.input :title, as: :string, required: true
= f.input :title, as: :string, autofocus: true, required: true
= f.input :description, input_html: { rows: 5, data: { provide: 'markdown-editable' } }, required: true,
hint: 'This field becomes public upon request acceptance'
= f.input :reasoning, input_html: { rows: 5, data: { provide: 'markdown-editable' } }, required: true,