replace target with action in forms

This commit is contained in:
Izalia Mae 2024-03-04 02:32:57 -05:00
parent 5f156401c7
commit 01a491f272
4 changed files with 4 additions and 4 deletions

View file

@ -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")

View file

@ -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")

View file

@ -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")

View file

@ -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 ''}}")