Sha256: 83ee212330ae3969b703c2ee81de4cf1611f8034bd48e2e90f5a0708c8fa860b

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

<%= content_for :html_head do %>
  <%= stylesheet_link_tag 'cms/form_layout' %>
<% end %>

<% page_title "Assign Page '#{@page.name}'" %>
<%= content_for :functions do %>
  <h1><%=h @page_title %></h1>
  <%= link_to(span_tag("Back To Page"), @page.path, :class => "button") %>
  <br clear="all"/>
<% end %>

<%= form_for(@task, :url => @task.new_record? ? cms_page_tasks_path(@page) : cms_page_task_path(@page, @task)) do |f| %>

  <%= f.cms_error_messages %>
  <div class="fields text_fields">
    <%= f.label :assigned_to_id, "Assign To" %>
    <%= f.collection_select :assigned_to_id, Cms::User.active.able_to_edit_or_publish_content.all(:order => "first_name, last_name, login"), :id, :full_name_with_login, :include_blank => true, :tabindex => next_tabindex %>
  </div>
  
  <div class="fields text_fields">
      <%= f.label :due_date %>
      <%= f.date_picker :due_date %>
      <div class="instructions">Leave blank for no due date</div><br clear="all" />
  </div>  
  
  <div class="fields text_editor_fields">
    <%= f.label :comment %>
    <br/>
    <%= f.text_area :comment, :tabindex => next_tabindex %>
  </div>

  <div class="buttons">
    <%= lt_button_wrapper(f.submit("Save", :class => "submit", :tabindex => next_tabindex)) %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
browsercms-3.4.0.rc2 app/views/cms/tasks/new.html.erb
browsercms-3.4.0.rc1 app/views/cms/tasks/new.html.erb