To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 28 / 28e4e2427d2a8e8bd98db1e2c7317b6c662eb82a.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (656 Bytes)
| 1 |
<h2><%=l(:label_news)%></h2> |
|---|---|
| 2 |
|
| 3 |
<% labelled_tabular_form_for @news, :html => { :id => 'news-form', :method => :put } do |f| %>
|
| 4 |
<%= render :partial => 'form', :locals => { :f => f } %>
|
| 5 |
<%= submit_tag l(:button_save) %> |
| 6 |
<%= link_to_remote l(:label_preview), |
| 7 |
{ :url => preview_news_path(:project_id => @project),
|
| 8 |
:method => 'get', |
| 9 |
:update => 'preview', |
| 10 |
:with => "Form.serialize('news-form')"
|
| 11 |
}, :accesskey => accesskey(:preview) %> |
| 12 |
<% end %> |
| 13 |
<div id="preview" class="wiki"></div> |
| 14 |
|
| 15 |
<% content_for :header_tags do %> |
| 16 |
<%= stylesheet_link_tag 'scm' %> |
| 17 |
<% end %> |