Actions forms on question view updated with the new forms css
[shapado:shapado.git] / app / views / questions / edit.html.haml
1 = javascript_include_merged(:show).html_safe
2
3 - form_for(@question, :url => question_path(@question), :html => {:class => "question-form", :multipart => true}) do |f|
4   
5   =render :partial => "form", :locals => {:f => f}
6   
7   .field.form-options
8     .checkbox
9       = f.label :wiki, "Wiki"
10       = f.check_box :wiki
11     
12     .buttons
13       = link_to t('scaffold.cancel'), questions_path
14       = t("global.or")
15       = f.submit t("scaffold.update"), :class => "save"
16
17