88 lines
1.9 KiB
Text
88 lines
1.9 KiB
Text
<% title "Edit Workgroup" %>
|
|
|
|
<% form_for @workgroup do |f| %>
|
|
<%= f.error_messages %>
|
|
<p>
|
|
<%= f.label :type %><br />
|
|
<%= f.text_field :type %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :name %><br />
|
|
<%= f.text_field :name %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :description %><br />
|
|
<%= f.text_field :description %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :account_balance %><br />
|
|
<%= f.text_field :account_balance %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :account_updated %><br />
|
|
<%= f.datetime_select :account_updated %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :created_on %><br />
|
|
<%= f.datetime_select :created_on %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :role_admin %><br />
|
|
<%= f.check_box :role_admin %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :role_suppliers %><br />
|
|
<%= f.check_box :role_suppliers %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :role_article_meta %><br />
|
|
<%= f.check_box :role_article_meta %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :role_finance %><br />
|
|
<%= f.check_box :role_finance %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :role_orders %><br />
|
|
<%= f.check_box :role_orders %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :weekly_task %><br />
|
|
<%= f.check_box :weekly_task %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :weekday %><br />
|
|
<%= f.text_field :weekday %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :task_name %><br />
|
|
<%= f.text_field :task_name %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :task_description %><br />
|
|
<%= f.text_field :task_description %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :task_required_users %><br />
|
|
<%= f.text_field :task_required_users %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :deleted_at %><br />
|
|
<%= f.datetime_select :deleted_at %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :contact_person %><br />
|
|
<%= f.text_field :contact_person %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :contact_phone %><br />
|
|
<%= f.text_field :contact_phone %>
|
|
</p>
|
|
<p>
|
|
<%= f.label :contact_address %><br />
|
|
<%= f.text_field :contact_address %>
|
|
</p>
|
|
<p><%= f.submit "Submit" %></p>
|
|
<% end %>
|
|
|
|
|