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:
Toshi MARUYAMA 2011-09-17 08:06:37 +00:00
parent 71f49c723a
commit 2a902fcb71
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
<div class="contextual"> <div class="contextual">
<%= watcher_tag(@news, User.current) %> <%= watcher_tag(@news, User.current) %>
<%= link_to(l(:button_edit), <%= link_to(l(:button_edit),
edit_news_path(@news), edit_news_path(@news),
:class => 'icon icon-edit', :class => 'icon icon-edit',
:accesskey => accesskey(:edit), :accesskey => accesskey(:edit),
:onclick => 'Element.show("edit-news"); return false;') if User.current.allowed_to?(:manage_news, @project) %> :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), news_path(@news),
:confirm => l(:text_are_you_sure), :confirm => l(:text_are_you_sure),
:method => :delete, :method => :delete,
@ -20,7 +20,7 @@
:html => { :id => 'news-form', :method => :put } do |f| %> :html => { :id => 'news-form', :method => :put } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %> <%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %> <%= submit_tag l(:button_save) %>
<%= link_to_remote l(:label_preview), <%= link_to_remote l(:label_preview),
{ :url => preview_news_path(:project_id => @project), { :url => preview_news_path(:project_id => @project),
:method => 'get', :method => 'get',
:update => 'preview', :update => 'preview',