Sha256: bb3af3b37b8543351aee37cced38b5c709c6e019a2aa1b896531803c50cd2e9b

Contents?: true

Size: 1.23 KB

Versions: 15

Compression:

Stored size: 1.23 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? ? page_tasks_path(@page) : 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

15 entries across 15 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/tasks/new.html.erb
browsercms-3.5.6 app/views/cms/tasks/new.html.erb
browsercms-3.5.5 app/views/cms/tasks/new.html.erb
browsercms-3.5.4 app/views/cms/tasks/new.html.erb
browsercms-3.5.3 app/views/cms/tasks/new.html.erb
browsercms-3.5.2 app/views/cms/tasks/new.html.erb
browsercms-3.5.1 app/views/cms/tasks/new.html.erb
browsercms-3.5.0 app/views/cms/tasks/new.html.erb
browsercms-3.5.0.rc3 app/views/cms/tasks/new.html.erb
browsercms-3.5.0.rc2 app/views/cms/tasks/new.html.erb
browsercms-3.5.0.rc1 app/views/cms/tasks/new.html.erb
browsercms-3.4.2 app/views/cms/tasks/new.html.erb
browsercms-3.4.2.rc1 app/views/cms/tasks/new.html.erb
browsercms-3.4.1 app/views/cms/tasks/new.html.erb
browsercms-3.4.0 app/views/cms/tasks/new.html.erb