2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_settings)%></h2>
|
2006-07-29 13:32:58 +04:00
|
|
|
|
2007-01-26 20:59:06 +03:00
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
2007-09-14 15:34:08 +04:00
|
|
|
<% project_settings_tabs.each do |tab| %>
|
|
|
|
<li><%= link_to l(tab[:label]), {}, :id => "tab-#{tab[:name]}", :onclick => "showTab('#{tab[:name]}'); this.blur(); return false;" %></li>
|
2006-11-12 21:50:30 +03:00
|
|
|
<% end %>
|
2007-09-14 15:34:08 +04:00
|
|
|
</ul>
|
2007-01-26 20:59:06 +03:00
|
|
|
</div>
|
|
|
|
|
2007-09-14 15:34:08 +04:00
|
|
|
<% project_settings_tabs.each do |tab| %>
|
|
|
|
<%= content_tag('div', render(:partial => tab[:partial]), :id => "tab-content-#{tab[:name]}", :class => 'tab-content') %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
2007-05-13 21:09:56 +04:00
|
|
|
|
2007-09-14 15:34:08 +04:00
|
|
|
<%= tab = params[:tab] ? h(params[:tab]) : project_settings_tabs.first[:name]
|
|
|
|
javascript_tag "showTab('#{tab}');" %>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2008-01-03 01:41:53 +03:00
|
|
|
<% html_title(l(:label_settings)) -%>
|