osem-fcy/app/views/admin/people/_form.html.haml
2014-05-26 17:42:17 +05:30

11 lines
455 B
Text

= semantic_form_for [:admin, @person] do |f|
= f.inputs "Basic Information" do
= f.input :featured, label: "Keynote Speaker"
= f.input :first_name, :as => :string
= f.input :last_name, :as => :string
= f.input :public_name, :as => :string
= f.input :email
= f.input :company, :as => :string
= f.input :biography, :input_html => {:rows => 10}
= f.actions do
= f.action :submit, :button_html => {:class => "btn primary"}