summaryrefslogtreecommitdiffstats
path: root/app/views/auth_sources/new.html.erb
blob: e9307faaf77898dcfde38507a75c3fc1a69c8709 (plain)
1
2
3
4
5
6
7
<%= title [l(:label_auth_source_plural), auth_sources_path], "#{l(:label_auth_source_new)} (#{@auth_source.auth_method_name})" %>

<%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_sources_path, :html => {:id => 'auth_source_form'} do |f| %>
  <%= hidden_field_tag 'type', @auth_source.type %>
  <%= render :partial => auth_source_partial_name(@auth_source), :locals => { :f => f } %>
  <%= submit_tag l(:button_create) %>
<% end %>