diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-13 15:04:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-13 15:04:11 +0000 |
commit | 7775f86a69f187b8e162280e1f4de1a8b58fd3dd (patch) | |
tree | 11d193dc381eb6c006d917ccf54439d81dde1de9 /app/views/auth_sources/_form.html.erb | |
parent | c31f498ba6a21fd3e5ce7b9ba2f3b3cdc1b2e05b (diff) | |
download | redmine-7775f86a69f187b8e162280e1f4de1a8b58fd3dd.tar.gz redmine-7775f86a69f187b8e162280e1f4de1a8b58fd3dd.zip |
Code cleanup in AuthSource controller and views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10996 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/auth_sources/_form.html.erb')
-rw-r--r-- | app/views/auth_sources/_form.html.erb | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/app/views/auth_sources/_form.html.erb b/app/views/auth_sources/_form.html.erb index 79abae7d8..05c6ca9e9 100644 --- a/app/views/auth_sources/_form.html.erb +++ b/app/views/auth_sources/_form.html.erb @@ -1,13 +1,6 @@ <%= error_messages_for 'auth_source' %> -<div class="box"> -<!--[form:auth_source]--> -<p><label for="auth_source_name"><%=l(:field_name)%> <span class="required">*</span></label> -<%= text_field 'auth_source', 'name' %></p> - -<p><label for="auth_source_onthefly_register"><%=l(:field_onthefly)%></label> -<%= check_box 'auth_source', 'onthefly_register' %></p> +<div class="box tabular"> + <p><%= f.text_field :name, :required => true %></p> + <p><%= f.check_box :onthefly_register, :label => :field_onthefly %></p> </div> - -<!--[eoform:auth_source]--> - |