remove trailing white-spaces from app/views/common/_tabs.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7268 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-17 01:10:30 +00:00
parent 5567f2497b
commit d204470978
1 changed files with 2 additions and 2 deletions

View File

@ -17,11 +17,11 @@
<script> <script>
Event.observe(window, 'load', function() { displayTabsButtons(); }); Event.observe(window, 'load', function() { displayTabsButtons(); });
Event.observe(window, 'resize', function() { displayTabsButtons(); }); Event.observe(window, 'resize', function() { displayTabsButtons(); });
</script> </script>
<% tabs.each do |tab| -%> <% tabs.each do |tab| -%>
<%= content_tag('div', render(:partial => tab[:partial], :locals => {:tab => tab} ), <%= content_tag('div', render(:partial => tab[:partial], :locals => {:tab => tab} ),
:id => "tab-content-#{tab[:name]}", :id => "tab-content-#{tab[:name]}",
:style => (tab[:name] != selected_tab ? 'display:none' : nil), :style => (tab[:name] != selected_tab ? 'display:none' : nil),
:class => 'tab-content') %> :class => 'tab-content') %>