16 lines
421 B
Plaintext
16 lines
421 B
Plaintext
<%= simple_form_for([:settings,@employee]) do |f| %>
|
|
<%= f.error_notification %>
|
|
|
|
<div class="form-inputs">
|
|
<%= 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 %>
|
|
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<%= f.button :submit %>
|
|
</div>
|
|
<% end %>
|