osem-fcy/app/views/admin/questions/edit.html.haml

8 lines
298 B
Text
Raw Normal View History

2014-02-09 18:05:57 +02:00
%h2
Edit Question
%h3
"#{@question.title}"
= form_for(@question, url: admin_conference_question_path(@conference.short_title, @question.id)) do |f|
2014-07-14 21:13:32 +03:00
= render partial: 'form', locals: {f: f}
= f.submit 'Save', class: 'btn btn-primary', confirm: 'Are you sure you want to make these changes?'