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

9 lines
321 B
Text
Raw Normal View History

2014-06-23 19:07:50 +03:00
= semantic_form_for [:admin, @user] do |f|
= f.inputs "Basic Information" do
= f.input :name, :as => :string
= f.input :email
= f.input :affiliation, :as => :string
= f.input :biography, :input_html => {:rows => 10}
= f.actions do
= f.action :submit, :button_html => {:class => "btn btn-primary"}