Merge branch 'fix/732-password-align' into 'develop'
[akkoma] / lib / pleroma / web / templates / o_auth / o_auth / consumer.html.eex
1 <h2>Sign in with external provider</h2>
2
3 <%= form_for @conn, o_auth_path(@conn, :prepare_request), [method: "get"], fn f -> %>
4 <%= render @view_module, "_scopes.html", Map.put(assigns, :form, f) %>
5
6 <%= hidden_input f, :client_id, value: @client_id %>
7 <%= hidden_input f, :redirect_uri, value: @redirect_uri %>
8 <%= hidden_input f, :state, value: @state %>
9
10 <%= for strategy <- Pleroma.Config.oauth_consumer_strategies() do %>
11 <%= submit "Sign in with #{String.capitalize(strategy)}", name: "provider", value: strategy %>
12 <% end %>
13 <% end %>