view app/views/news/edit.html.erb @ 1415:8e2e4557fa75 biblio_alt_search_auth

Converting author/user ids to integers when calling link_to helpers.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 01 Oct 2013 14:58:04 +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 %>