_projects.rhtml
19 lines
| 919 B
| text/html+ruby
|
RhtmlLexer
|
r1776 | <% form_tag({:action => 'edit', :tab => 'projects'}) do %> | ||
<div class="box tabular settings"> | ||||
<p><label><%= l(:setting_default_projects_public) %></label> | ||||
|
r2773 | <%= hidden_field_tag 'settings[default_projects_public]', 0 %> | ||
<%= check_box_tag 'settings[default_projects_public]', 1, Setting.default_projects_public? %> | ||||
</p> | ||||
|
r1776 | |||
<p><label><%= l(:setting_sequential_project_identifiers) %></label> | ||||
|
r2773 | <%= hidden_field_tag 'settings[sequential_project_identifiers]', 0 %> | ||
<%= check_box_tag 'settings[sequential_project_identifiers]', 1, Setting.sequential_project_identifiers? %> | ||||
</p> | ||||
|
r2655 | |||
<p><label><%= l(:setting_new_project_user_role_id) %></label> | ||||
|
r2686 | <%= select_tag('settings[new_project_user_role_id]', options_for_select([["--- #{l(:actionview_instancetag_blank_option)} ---", '']] + Role.find_all_givable.collect {|r| [r.name, r.id]}, Setting.new_project_user_role_id.to_i)) %></p> | ||
|
r1776 | </div> | ||
<%= submit_tag l(:button_save) %> | ||||
<% end %> | ||||