15 lines
382 B
Plaintext
15 lines
382 B
Plaintext
<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 %>
|
|
|
|
|