To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / settings / _authentication.html.erb @ 912:5e80956cc792

History | View | Annotate | Download (1015 Bytes)

1 0:513646585e45 Chris
<% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
2
3
<div class="box tabular settings">
4
<p><%= setting_check_box :login_required %></p>
5
6 37:94944d00e43c chris
<p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>
7 0:513646585e45 Chris
8
<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
9 909:cbb26bc654de Chris
                                           [l(:label_registration_activation_by_email), "1"],
10
                                           [l(:label_registration_manual_activation), "2"],
11
                                           [l(:label_registration_automatic_activation), "3"]] %></p>
12 0:513646585e45 Chris
13
<p><%= setting_text_field :password_min_length, :size => 6 %></p>
14
15
<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
16
17
<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
18
19
<p><%= setting_check_box :rest_api_enabled %></p>
20
</div>
21
22
<%= submit_tag l(:button_save) %>
23
<% end %>