annotate .svn/pristine/28/28e4e2427d2a8e8bd98db1e2c7317b6c662eb82a.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 <h2><%=l(:label_news)%></h2>
Chris@909 2
Chris@909 3 <% labelled_tabular_form_for @news, :html => { :id => 'news-form', :method => :put } do |f| %>
Chris@909 4 <%= render :partial => 'form', :locals => { :f => f } %>
Chris@909 5 <%= submit_tag l(:button_save) %>
Chris@909 6 <%= link_to_remote l(:label_preview),
Chris@909 7 { :url => preview_news_path(:project_id => @project),
Chris@909 8 :method => 'get',
Chris@909 9 :update => 'preview',
Chris@909 10 :with => "Form.serialize('news-form')"
Chris@909 11 }, :accesskey => accesskey(:preview) %>
Chris@909 12 <% end %>
Chris@909 13 <div id="preview" class="wiki"></div>
Chris@909 14
Chris@909 15 <% content_for :header_tags do %>
Chris@909 16 <%= stylesheet_link_tag 'scm' %>
Chris@909 17 <% end %>