summaryrefslogtreecommitdiffstats
path: root/app/views/auth_sources/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/auth_sources/new.html.erb')
-rw-r--r--app/views/auth_sources/new.html.erb3
1 files changed, 2 insertions, 1 deletions
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 %>