mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-24 07:21:08 +00:00
replace target
with action
in forms
This commit is contained in:
parent
5f156401c7
commit
01a491f272
|
@ -3,7 +3,7 @@
|
||||||
-block content
|
-block content
|
||||||
%details.section
|
%details.section
|
||||||
%summary << Add Instance
|
%summary << Add Instance
|
||||||
%form(target="/admin/instances" method="POST")
|
%form(action="/admin/instances" method="POST")
|
||||||
#add-item
|
#add-item
|
||||||
%label(for="domain") << Domain
|
%label(for="domain") << Domain
|
||||||
%input(type="domain" id="domain" name="domain" placeholder="Domain")
|
%input(type="domain" id="domain" name="domain" placeholder="Domain")
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
-block content
|
-block content
|
||||||
%details.section
|
%details.section
|
||||||
%summary << Add User
|
%summary << Add User
|
||||||
%form(target="/admin/users", method="POST")
|
%form(action="/admin/users", method="POST")
|
||||||
#add-item
|
#add-item
|
||||||
%label(for="username") << Username
|
%label(for="username") << Username
|
||||||
%input(id="username" name="username" placeholder="Username")
|
%input(id="username" name="username" placeholder="Username")
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
-block content
|
-block content
|
||||||
%details.section
|
%details.section
|
||||||
%summary << Add Domain
|
%summary << Add Domain
|
||||||
%form(target="/admin/whitelist" method="POST")
|
%form(action="/admin/whitelist" method="POST")
|
||||||
#add-item
|
#add-item
|
||||||
%label(for="domain") << Domain
|
%label(for="domain") << Domain
|
||||||
%input(type="domain" id="domain" name="domain" placeholder="Domain")
|
%input(type="domain" id="domain" name="domain" placeholder="Domain")
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
-extends "base.haml"
|
-extends "base.haml"
|
||||||
-set page="Login"
|
-set page="Login"
|
||||||
-block content
|
-block content
|
||||||
%form.section(action="/login" method="post")
|
%form.section(action="/login" method="POST")
|
||||||
.grid-2col
|
.grid-2col
|
||||||
%label(for="username") << Username
|
%label(for="username") << Username
|
||||||
%input(id="username" name="username" placeholder="Username" value="{{username or ''}}")
|
%input(id="username" name="username" placeholder="Username" value="{{username or ''}}")
|
||||||
|
|
Loading…
Reference in a new issue