% title "Edit Ordergroup" %> <% form_for @ordergroup do |f| %> <%= f.error_messages %>
<%= f.label :type %>
<%= f.text_field :type %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :description %>
<%= f.text_field :description %>
<%= f.label :account_balance %>
<%= f.text_field :account_balance %>
<%= f.label :account_updated %>
<%= f.datetime_select :account_updated %>
<%= f.label :created_on %>
<%= f.datetime_select :created_on %>
<%= f.label :role_admin %>
<%= f.check_box :role_admin %>
<%= f.label :role_suppliers %>
<%= f.check_box :role_suppliers %>
<%= f.label :role_article_meta %>
<%= f.check_box :role_article_meta %>
<%= f.label :role_finance %>
<%= f.check_box :role_finance %>
<%= f.label :role_orders %>
<%= f.check_box :role_orders %>
<%= f.label :weekly_task %>
<%= f.check_box :weekly_task %>
<%= f.label :weekday %>
<%= f.text_field :weekday %>
<%= f.label :task_name %>
<%= f.text_field :task_name %>
<%= f.label :task_description %>
<%= f.text_field :task_description %>
<%= f.label :task_required_users %>
<%= f.text_field :task_required_users %>
<%= f.label :deleted_at %>
<%= f.datetime_select :deleted_at %>
<%= f.label :contact_person %>
<%= f.text_field :contact_person %>
<%= f.label :contact_phone %>
<%= f.text_field :contact_phone %>
<%= f.label :contact_address %>
<%= f.text_field :contact_address %>
<%= f.submit "Submit" %>
<% end %>