diff --git a/app/views/admin/questions/index.html.haml b/app/views/admin/questions/index.html.haml index decc6b41..3e357b36 100644 --- a/app/views/admin/questions/index.html.haml +++ b/app/views/admin/questions/index.html.haml @@ -5,10 +5,10 @@ %br %br - if @questions.count > 0 - = semantic_form_for(@conference, :url => admin_conference_questions_update_conference_path(@conference.short_title), :method => 'put') do |f| + = semantic_form_for(@conference, :url => admin_conference_questions_update_conference_path(@conference.short_title)) do |f| .questions{:id => "myquestions"} = render :partial => "questions" - = f.submit "Update Questions for #{@conference.short_title}", :class => "btn btn-primary", :confirm => "Are you sure you want to make these changes?" + = f.submit "Update Questions for #{@conference.short_title}", :class => "btn btn-primary", :confirm => "Are you sure you want to make these changes?" .modal.fade{:id => "new-question", "role" => "dialog", "aria-hidden" => "true"}