replace tabs to spaces at app/views/news/new.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8597 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c131a38d7c
commit
4e5490ddef
|
@ -2,13 +2,13 @@
|
|||
|
||||
<% labelled_form_for @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>
|
||||
|
|
Loading…
Reference in New Issue