question builder

This commit is contained in:
Stella 2014-02-09 18:05:57 +02:00
parent 4356616566
commit 3105c8da5d
28 changed files with 338 additions and 15 deletions

View file

@ -0,0 +1,9 @@
%h2
Edit Question
%h3
"#{@question.title}"
= semantic_form_for(@question, :url => admin_conference_question_path(@conference.short_title, @question.id)) do |f|
= render :partial => "form", :locals => {:f => f}
= f.submit "Save", :class => "btn btn-primary", :confirm => "Are you sure you want to make these changes?"