summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-11 11:43:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-11 11:43:27 +0000
commitbd47af098fefef968647f7634105b22eb115d4b2 (patch)
tree8ff70b22d6baf6925bfe81a6242d2a91b1411b9b /app/views
parent81185a8d93c049eb77d3c3638dc01ab4e3a65f07 (diff)
downloadredmine-bd47af098fefef968647f7634105b22eb115d4b2.tar.gz
redmine-bd47af098fefef968647f7634105b22eb115d4b2.zip
Merged LdapAuthSourceController into AuthSourceController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9232 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/auth_sources/_form_auth_source_ldap.html.erb (renamed from app/views/ldap_auth_sources/_form.html.erb)0
-rw-r--r--app/views/auth_sources/edit.html.erb3
-rw-r--r--app/views/auth_sources/new.html.erb3
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/ldap_auth_sources/_form.html.erb b/app/views/auth_sources/_form_auth_source_ldap.html.erb
index 3ddf43a9a..3ddf43a9a 100644
--- a/app/views/ldap_auth_sources/_form.html.erb
+++ b/app/views/auth_sources/_form_auth_source_ldap.html.erb
diff --git a/app/views/auth_sources/edit.html.erb b/app/views/auth_sources/edit.html.erb
index e2c99aa3c..87c72724d 100644
--- a/app/views/auth_sources/edit.html.erb
+++ b/app/views/auth_sources/edit.html.erb
@@ -1,7 +1,6 @@
<h2><%=l(:label_auth_source)%> (<%= h(@auth_source.auth_method_name) %>)</h2>
<% form_tag({:action => 'update', :id => @auth_source}, :class => "tabular") do %>
- <%= render :partial => 'form' %>
+ <%= render :partial => auth_source_partial_name(@auth_source) %>
<%= submit_tag l(:button_save) %>
<% end %>
-
diff --git a/app/views/auth_sources/new.html.erb b/app/views/auth_sources/new.html.erb
index d0b9b1d43..e5b9106bd 100644
--- a/app/views/auth_sources/new.html.erb
+++ b/app/views/auth_sources/new.html.erb
@@ -1,6 +1,7 @@
<h2><%=l(:label_auth_source_new)%> (<%= h(@auth_source.auth_method_name) %>)</h2>
<% form_tag({:action => 'create'}, :class => "tabular") do %>
- <%= render :partial => 'form' %>
+ <%= hidden_field_tag 'type', @auth_source.type %>
+ <%= render :partial => auth_source_partial_name(@auth_source) %>
<%= submit_tag l(:button_create) %>
<% end %>