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