diff options
Diffstat (limited to 'app/views/news/new.html.erb')
-rw-r--r-- | app/views/news/new.html.erb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/news/new.html.erb b/app/views/news/new.html.erb index 0fbc72ec1..59589030a 100644 --- a/app/views/news/new.html.erb +++ b/app/views/news/new.html.erb @@ -2,13 +2,13 @@ <% labelled_tabular_form_for :news, @news, :url => project_news_index_path(@project), :html => { :id => 'news-form' } do |f| %> -<%= render :partial => 'news/form', :locals => { :f => f } %> -<%= submit_tag l(:button_create) %> -<%= link_to_remote l(:label_preview), - { :url => preview_news_path(:project_id => @project), - :method => 'get', - :update => 'preview', - :with => "Form.serialize('news-form')" - }, :accesskey => accesskey(:preview) %> + <%= render :partial => 'news/form', :locals => { :f => f } %> + <%= submit_tag l(:button_create) %> + <%= link_to_remote l(:label_preview), + { :url => preview_news_path(:project_id => @project), + :method => 'get', + :update => 'preview', + :with => "Form.serialize('news-form')" + }, :accesskey => accesskey(:preview) %> <% end %> <div id="preview" class="wiki"></div> |