style fixes

This commit is contained in:
Stella Rouzi 2014-07-14 21:13:32 +03:00
parent 4a8c2173d4
commit 2966b92319
4 changed files with 35 additions and 24 deletions

View file

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