view .svn/pristine/61/61668dfcefb644406f6147ff8d4029159a7244df.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents cbb26bc654de
children
line wrap: on
line source
<% form_tag({:action => 'edit', :tab => 'authentication'}) do %>

<div class="box tabular settings">
<p><%= setting_check_box :login_required %></p>

<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>

<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>

<p><%= setting_check_box :rest_api_enabled %></p>
</div>

<%= submit_tag l(:button_save) %>
<% end %>