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

7 lines
781 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=>[@project.project_manager_id],:@target=>"#project_manager_append_area",:@user_params_name=>"#{@project.class.to_s.underscore}[project_manager_id]",:name => "project_manager",:@display_selected => true } %>
<%= render :partial => "user_select_modal",:locals=>{:@users=>@users,:@selected_user_ids=>@project.all_user_ids,:@target=>"#all_user_append_area",:@user_params_name=>"#{@project.class.to_s.underscore}[all_user_ids][]",:name => "all_user" } %>
<%= form_for @project, url: create_project_admin_ruling_timers_path(@project), html: {class: "form-horizontal main-forms previewable"} do |f| %>
<fieldset>
<%= render :partial => "project_form",:locals=>{:f=>f} %>
</fieldset>
<% end %>