remove trailing white-spaces from app/views/news/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7308 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
71f49c723a
commit
2a902fcb71
@ -1,11 +1,11 @@
|
||||
<div class="contextual">
|
||||
<%= watcher_tag(@news, User.current) %>
|
||||
<%= link_to(l(:button_edit),
|
||||
<%= link_to(l(:button_edit),
|
||||
edit_news_path(@news),
|
||||
:class => 'icon icon-edit',
|
||||
:accesskey => accesskey(:edit),
|
||||
:onclick => 'Element.show("edit-news"); return false;') if User.current.allowed_to?(:manage_news, @project) %>
|
||||
<%= link_to(l(:button_delete),
|
||||
<%= link_to(l(:button_delete),
|
||||
news_path(@news),
|
||||
:confirm => l(:text_are_you_sure),
|
||||
:method => :delete,
|
||||
@ -20,7 +20,7 @@
|
||||
:html => { :id => 'news-form', :method => :put } do |f| %>
|
||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||
<%= submit_tag l(:button_save) %>
|
||||
<%= link_to_remote l(:label_preview),
|
||||
<%= link_to_remote l(:label_preview),
|
||||
{ :url => preview_news_path(:project_id => @project),
|
||||
:method => 'get',
|
||||
:update => 'preview',
|
||||
|
Loading…
x
Reference in New Issue
Block a user