osem-fcy/app/views/admin/people/_form.html.haml

12 lines
455 B
Text
Raw Normal View History

2013-07-10 16:13:53 +02:00
= semantic_form_for [:admin, @person] do |f|
= f.inputs "Basic Information" do
2014-05-21 15:42:30 +05:30
= f.input :featured, label: "Keynote Speaker"
2013-07-10 16:13:53 +02:00
= 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"}