Sha256: d7ee54fa543e13e46bd146b2c41ae35063f60c225c819ae52de24a1cd7ab2239
Contents?: true
Size: 944 Bytes
Versions: 11
Compression:
Stored size: 944 Bytes
Contents
<% use_page_title "Assign Task" %> <% content_for :buttons, 'save_buttons' %> <% content_for :sidebar do %> <div class="sidebar-block"> <h4 class="gray">Assigning Page:</h4> <p><%= link_to @page.name, page_path(@page), target: '_blank' %></p> </div> <% end %> <%= simple_form_for(@task, :url => @task.new_record? ? page_tasks_path(@page) : page_task_path(@page, @task)) do |f| %> <%= render layout: 'form_with_buttons', locals: {f: f} do %> <%= f.association :assigned_to, label: "Assign To", collection: Cms::User.active.able_to_edit_or_publish_content.order("first_name, last_name, login"), include_blank: false, label_method: :full_name_with_login %> <%= f.input :due_date, as: :date_picker, hint: "Leave blank for no due date" %> <%= f.input :comment %> <% end %> <% end %>
Version data entries
11 entries across 11 versions & 2 rubygems