ruling_timer/app/views/admin/ruling_timers/edit_task.html.erb

8 lines
945 B
Plaintext
Raw Normal View History

2022-04-18 01:01:57 +00:00
<%= render :partial => "user_select_modal",:locals=>{:@users=>@users,:@selected_user_ids=>[@task.owner_id],:@target=>"#owner_append_area",:@user_params_name=>"#{@task.class.to_s.underscore}[owner_id]",:name => "owner",:@display_selected => true } %>
<%= render :partial => "user_select_modal",:locals=>{:@users=>@users,:@selected_user_ids=>@task.helper_ids,:@target=>"#helper_append_area",:@user_params_name=>"#{@task.class.to_s.underscore}[helper_ids][]",:name => "helper" } %>
<%= render :partial => "user_select_modal",:locals=>{:@users=>@users,:@selected_user_ids=>@task.observer_ids,:@target=>"#observer_append_area",:@user_params_name=>"#{@task.class.to_s.underscore}[observer_ids][]",:name => "observer" } %>
2021-07-21 07:37:06 +00:00
<%= form_for @task, url: update_task_admin_ruling_timer_path(@task), html: {class: "form-horizontal main-forms previewable"} do |f| %>
<fieldset>
<%= render :partial => "task_form",:locals=>{:f=>f} %>
</fieldset>
<% end %>