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:
parent
5567f2497b
commit
d204470978
|
@ -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') %>
|
||||||
|
|
Loading…
Reference in New Issue