Files
sx-fc/app/views/settings/employees/_form.html.erb
2017-04-05 08:24:21 +06:30

15 lines
333 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 :password %>
</div>
<div class="form-actions">
<%= f.button :submit %>
</div>
<% end %>