<%#-- copyright OpenProject is a project management system. Copyright (C) 2012-2013 the OpenProject Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. See doc/COPYRIGHT.rdoc for more details. ++#%> <%= header_tags %> <% unless User.current.impaired? %> <%# TODO: Require autocompleter inside select_boxes.js For lack of a requiring policy (such as requirejs), just include the autocompleter on its own. %> <%= javascript_include_tag "timelines_autocompleter.js" %> <%= javascript_include_tag "timelines_select_boxes.js" %> <% end %> <% html_title l('timelines.reporting_for_project.show', :title => h(@reporting.reporting_to_project.name)) %>

<%= l('timelines.reporting_for_project.show', :title => link_to_project(@reporting.reporting_to_project)).html_safe %>

<%= form_for :reporting, :url => project_reporting_path(@project, @reporting), :html => {:method => 'put'} do |f| %> <%= f.error_messages %>
<%= l('timelines.properties') %>

<%= f.select :reported_project_status_id, @reporting.possible_reported_project_statuses.map { |s| [s.name, s.id] }.unshift(["-",""]) %>


<%= f.text_area(:reported_project_status_comment, :class => 'wiki-edit', :rows => 10) %> <%= wikitoolbar_for 'reporting_reported_project_status_comment' %>


<%= f.submit l(:button_save), :name => nil %> <%= link_to l(:button_cancel), project_reportings_path(@project) %>

<% end %> <% content_for :header_tags do %> <%= stylesheet_link_tag 'timelines.css', :plugin => 'chiliproject_timelines', :media => "all" %> <% end %>