<%= simple_form_for([:settings,@employee]) do |f| %> <%= f.error_notification %>
<%= f.input :name %> <%= f.input :role, :collection => Lookup.collection_of("employee_roles") %> <%= f.input :emp_id, :as => :integer, :label => "Employee Numberic ID (*Unique)" %> <%= f.input :password %>
<%= f.button :submit %>
<% end %>