X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Ftemplates%2Fo_auth%2Fo_auth%2Fregister.html.eex;h=facedc8db6082dd15c49318d75b58f65b8aca538;hb=50e47a215f9c473a308ba7e9ddea5e33099c5a9d;hp=f4547170cdb93258b197b23f6786286cef3e8749;hpb=e17a9a1f6680bfc464a1433fcff37b6d61cc5340;p=akkoma diff --git a/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex index f4547170c..facedc8db 100644 --- a/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex +++ b/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex @@ -7,12 +7,8 @@

Registration Details

-

If you'd like to register a new account, -
-please provide the details below.

-
- -<%= form_for @conn, o_auth_path(@conn, :register), [], fn f -> %> +

If you'd like to register a new account, please provide the details below.

+<%= form_for @conn, o_auth_path(@conn, :register), [as: "authorization"], fn f -> %>
<%= label f, :nickname, "Nickname" %> @@ -25,14 +21,11 @@ please provide the details below.

<%= submit "Proceed as new user", name: "op", value: "register" %> -
-
-

Alternatively, sign in to connect to existing account.

- <%= label f, :auth_name, "Name or email" %> - <%= text_input f, :auth_name %> + <%= label f, :name, "Name or email" %> + <%= text_input f, :name %>
<%= label f, :password, "Password" %> @@ -44,5 +37,6 @@ please provide the details below.

<%= hidden_input f, :client_id, value: @client_id %> <%= hidden_input f, :redirect_uri, value: @redirect_uri %> <%= hidden_input f, :scope, value: Enum.join(@scopes, " ") %> +<%= hidden_input f, :state, value: @state %> <% end %>