view app/views/news/edit.html.erb @ 1249:774beb9b79da redmine-2.2-integration

Handling saving the tags on project creation.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 03 Apr 2013 15:31:16 +0100
parents 433d4f72a19b
children
line wrap: on
line source
<h2><%=l(:label_news)%></h2>

<%= labelled_form_for @news, :html => { :id => 'news-form', :multipart => true, :method => :put } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= preview_link preview_news_path(:project_id => @project, :id => @news), 'news-form' %>
<% end %>
<div id="preview" class="wiki"></div>

<% content_for :header_tags do %>
  <%= stylesheet_link_tag 'scm' %>
<% end %>