annotate app/views/news/.svn/text-base/edit.rhtml.svn-base @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 40f7cfd4df19
children
rev   line source
Chris@0 1 <h2><%=l(:label_news)%></h2>
Chris@0 2
chris@37 3 <% labelled_tabular_form_for :news, @news, :url => news_path(@news),
chris@22 4 :html => { :id => 'news-form', :method => :put } do |f| %>
Chris@0 5 <%= render :partial => 'form', :locals => { :f => f } %>
Chris@0 6 <%= submit_tag l(:button_save) %>
Chris@0 7 <%= link_to_remote l(:label_preview),
chris@37 8 { :url => preview_news_path(:project_id => @project),
chris@37 9 :method => 'get',
Chris@0 10 :update => 'preview',
Chris@0 11 :with => "Form.serialize('news-form')"
Chris@0 12 }, :accesskey => accesskey(:preview) %>
Chris@0 13 <% end %>
Chris@0 14 <div id="preview" class="wiki"></div>
chris@22 15
chris@22 16 <% content_for :header_tags do %>
chris@22 17 <%= stylesheet_link_tag 'scm' %>
chris@22 18 <% end %>