annotate app/views/news/edit.html.erb @ 1478:5ca1f4a47171 bibplugin_db_migrations

Close obsolete branch bibplugin_db_migrations
author Chris Cannam
date Fri, 30 Nov 2012 14:40:50 +0000
parents cbb26bc654de
children 433d4f72a19b
rev   line source
Chris@0 1 <h2><%=l(:label_news)%></h2>
Chris@0 2
Chris@909 3 <% labelled_tabular_form_for @news, :html => { :id => 'news-form', :method => :put } do |f| %>
Chris@0 4 <%= render :partial => 'form', :locals => { :f => f } %>
Chris@0 5 <%= submit_tag l(:button_save) %>
Chris@909 6 <%= link_to_remote l(:label_preview),
chris@37 7 { :url => preview_news_path(:project_id => @project),
chris@37 8 :method => 'get',
Chris@0 9 :update => 'preview',
Chris@0 10 :with => "Form.serialize('news-form')"
Chris@0 11 }, :accesskey => accesskey(:preview) %>
Chris@0 12 <% end %>
Chris@0 13 <div id="preview" class="wiki"></div>
chris@22 14
chris@22 15 <% content_for :header_tags do %>
chris@22 16 <%= stylesheet_link_tag 'scm' %>
chris@22 17 <% end %>