##// END OF EJS Templates
Applies the same style to the admin project tree than issues....
Applies the same style to the admin project tree than issues. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3621 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3322:c5f30fde2872
r3507:ce549933c8ab
Show More
_authentication.rhtml
27 lines | 1.1 KiB | text/html+ruby | RhtmlLexer
/ app / views / settings / _authentication.rhtml
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 <% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
<div class="box tabular settings">
Jean-Philippe Lang
Adds helpers for setting field tags....
r3084 <p><%= setting_check_box :login_required %></p>
<p><%= setting_select :autologin, [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]}, :blank => :label_disabled %></p>
<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
[l(:label_registration_activation_by_email), "1"],
[l(:label_registration_manual_activation), "2"],
[l(:label_registration_automatic_activation), "3"]] %></p>
<p><%= setting_text_field :password_min_length, :size => 6 %></p>
<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
Jean-Philippe Lang
Move API setting to Authentication tab and add translations strings....
r3108
<p><%= setting_check_box :rest_api_enabled %></p>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 </div>
<div style="float:right;">
Eric Davis
Refactor: Merged AuthSourcesController#list and #index...
r3322 <%= link_to l(:label_ldap_authentication), :controller => 'auth_sources', :action => 'index' %>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 </div>
<%= submit_tag l(:button_save) %>
<% end %>