diff options
author | Etienne Massip <etienne.massip@gmail.com> | 2011-10-24 20:19:26 +0000 |
---|---|---|
committer | Etienne Massip <etienne.massip@gmail.com> | 2011-10-24 20:19:26 +0000 |
commit | 8f96f0c40d8032e4787f2548e0f0fd7da7e36a07 (patch) | |
tree | cb7a9ac1efdede90bd38638e4119d57e309ee7a2 /app/views/news | |
parent | 657fcd97aa1a6fc289dcb998dd994c9499112737 (diff) | |
download | redmine-8f96f0c40d8032e4787f2548e0f0fd7da7e36a07.tar.gz redmine-8f96f0c40d8032e4787f2548e0f0fd7da7e36a07.zip |
Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-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> |