Files
old-konsultanti-next-gen/app/views/admin/employers/_form.html.erb
2021-09-20 08:22:39 +02:00

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 %>