Initial commit
This commit is contained in:
14
app/views/admin/employers/_form.html.erb
Normal file
14
app/views/admin/employers/_form.html.erb
Normal file
@@ -0,0 +1,14 @@
|
||||
<h1>Completely custom form</h1>
|
||||
|
||||
<%= semantic_form_for [:admin, @employer] do |f| %>
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :name, as: :important %>
|
||||
<%= f.input :logo_url %>
|
||||
<%= f.input :short_name %>
|
||||
<%= f.input :short_code %>
|
||||
<%= f.input :status, as: :select, collection: ["active","inactive"], include_blank: false %>
|
||||
<% end %>
|
||||
<%= f.actions %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user