Adding and removing people

This commit is contained in:
Ancor Gonzalez Sosa 2013-07-10 16:13:53 +02:00
parent d95d8f234b
commit 3a2bf49f97
6 changed files with 64 additions and 28 deletions

View file

@ -0,0 +1,10 @@
= semantic_form_for [:admin, @person] do |f|
= f.inputs "Basic Information" do
= 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"}