You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit.html.erb 669B

1234567891011121314151617
  1. <h2><%=l(:label_news)%></h2>
  2. <%= labelled_form_for @news, :html => { :id => 'news-form', :multipart => true, :method => :put } do |f| %>
  3. <%= render :partial => 'form', :locals => { :f => f } %>
  4. <%= submit_tag l(:button_save) %>
  5. <%= link_to_remote l(:label_preview),
  6. { :url => preview_news_path(:project_id => @project),
  7. :method => 'get',
  8. :update => 'preview',
  9. :with => "Form.serialize('news-form')"
  10. }, :accesskey => accesskey(:preview) %>
  11. <% end %>
  12. <div id="preview" class="wiki"></div>
  13. <% content_for :header_tags do %>
  14. <%= stylesheet_link_tag 'scm' %>
  15. <% end %>