@@ -1,4 +1,5 | |||||
1 | <h2><%=l(:label_custom_field)%> (<%=l(@custom_field.type_name)%>)</h2> |
|
1 | <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> | |
|
2 | » <%=h @custom_field.name %> (<%=l(@custom_field.type_name)%>)</h2> | |||
2 |
|
3 | |||
3 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %> |
|
4 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %> | |
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
5 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,5 | |||||
1 | <h2><%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2> |
|
1 | <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> | |
|
2 | » <%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2> | |||
2 |
|
3 | |||
3 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> |
|
4 | <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> | |
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
5 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_enumerations)%></h2> |
|
1 | <h2><%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> » <%=h @enumeration %></h2> | |
2 |
|
2 | |||
3 | <% form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") do %> |
|
3 | <% form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") do %> | |
4 | <%= render :partial => 'form' %> |
|
4 | <%= render :partial => 'form' %> |
@@ -1,4 +1,4 | |||||
1 |
<h2><%= l(@enumeration.option_name) %> |
|
1 | <h2><%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> » <%=l(:label_enumeration_new)%></h2> | |
2 |
|
2 | |||
3 | <% form_tag({:action => 'create'}, :class => "tabular") do %> |
|
3 | <% form_tag({:action => 'create'}, :class => "tabular") do %> | |
4 | <%= render :partial => 'form' %> |
|
4 | <%= render :partial => 'form' %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_issue_status)%></h2> |
|
1 | <h2><%= link_to l(:label_issue_status_plural), :controller => 'issue_statuses', :action => 'index' %> » <%=h @issue_status %></h2> | |
2 |
|
2 | |||
3 | <% form_tag({:action => 'update', :id => @issue_status}, :class => "tabular") do %> |
|
3 | <% form_tag({:action => 'update', :id => @issue_status}, :class => "tabular") do %> | |
4 | <%= render :partial => 'form' %> |
|
4 | <%= render :partial => 'form' %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_issue_status_new)%></h2> |
|
1 | <h2><%= link_to l(:label_issue_status_plural), :controller => 'issue_statuses', :action => 'index' %> » <%=l(:label_issue_status_new)%></h2> | |
2 |
|
2 | |||
3 | <% form_tag({:action => 'create'}, :class => "tabular") do %> |
|
3 | <% form_tag({:action => 'create'}, :class => "tabular") do %> | |
4 | <%= render :partial => 'form' %> |
|
4 | <%= render :partial => 'form' %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_role)%>: <%= @role.name %></h2> |
|
1 | <h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> » <%= @role.name %></h2> | |
2 |
|
2 | |||
3 | <% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %> |
|
3 | <% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %> | |
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_role_new)%></h2> |
|
1 | <h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> » <%=l(:label_role_new)%></h2> | |
2 |
|
2 | |||
3 | <% labelled_tabular_form_for :role, @role, :url => { :action => 'new' }, :html => {:id => 'role_form'} do |f| %> |
|
3 | <% labelled_tabular_form_for :role, @role, :url => { :action => 'new' }, :html => {:id => 'role_form'} do |f| %> | |
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_permissions_report)%></h2> |
|
1 | <h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> » <%=l(:label_permissions_report)%></h2> | |
2 |
|
2 | |||
3 | <% form_tag({:action => 'report'}, :id => 'permissions_form') do %> |
|
3 | <% form_tag({:action => 'report'}, :id => 'permissions_form') do %> | |
4 | <%= hidden_field_tag 'permissions[0]', '', :id => nil %> |
|
4 | <%= hidden_field_tag 'permissions[0]', '', :id => nil %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_tracker)%></h2> |
|
1 | <h2><%= link_to l(:label_tracker_plural), :controller => 'trackers', :action => 'index' %> » <%=h @tracker %></h2> | |
2 |
|
2 | |||
3 | <% form_for :tracker, @tracker, :url => { :action => 'edit' }, :builder => TabularFormBuilder do |f| %> |
|
3 | <% form_for :tracker, @tracker, :url => { :action => 'edit' }, :builder => TabularFormBuilder do |f| %> | |
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_tracker_new)%></h2> |
|
1 | <h2><%= link_to l(:label_tracker_plural), :controller => 'trackers', :action => 'index' %> » <%=l(:label_tracker_new)%></h2> | |
2 |
|
2 | |||
3 | <% form_for :tracker, @tracker, :url => { :action => 'new' }, :builder => TabularFormBuilder do |f| %> |
|
3 | <% form_for :tracker, @tracker, :url => { :action => 'new' }, :builder => TabularFormBuilder do |f| %> | |
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 | |||||
1 | <h2><%=l(:label_user_new)%></h2> |
|
1 | <h2><%= link_to l(:label_user_plural), :controller => 'users', :action => 'index' %> » <%=l(:label_user_new)%></h2> | |
2 |
|
2 | |||
3 | <% labelled_tabular_form_for :user, @user, :url => { :action => "add" } do |f| %> |
|
3 | <% labelled_tabular_form_for :user, @user, :url => { :action => "add" } do |f| %> | |
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
4 | <%= render :partial => 'form', :locals => { :f => f } %> |
@@ -2,7 +2,7 | |||||
2 | <%= change_status_link(@user) %> |
|
2 | <%= change_status_link(@user) %> | |
3 | </div> |
|
3 | </div> | |
4 |
|
4 | |||
5 | <h2><%=l(:label_user)%>: <%=h @user.login %></h2> |
|
5 | <h2><%= link_to l(:label_user_plural), :controller => 'users', :action => 'index' %> » <%=h @user.login %></h2> | |
6 |
|
6 | |||
7 | <% selected_tab = params[:tab] ? params[:tab].to_s : user_settings_tabs.first[:name] %> |
|
7 | <% selected_tab = params[:tab] ? params[:tab].to_s : user_settings_tabs.first[:name] %> | |
8 |
|
8 |
General Comments 0
You need to be logged in to leave comments.
Login now