remove commas in element attributes

This commit is contained in:
Izalia Mae 2024-03-04 01:14:17 -05:00
parent d44498b966
commit 2223695d15
4 changed files with 11 additions and 11 deletions

View file

@ -3,7 +3,7 @@
-block content
%details.section
%summary << Ban Domain
%form(action="/admin/domain_bans", method="POST")
%form(action="/admin/domain_bans" method="POST")
#add-domain
%label(for="domain") << Domain
%input(type="domain" id="domain" name="domain" placeholder="Domain")
@ -38,7 +38,7 @@
.note << Note
%textarea.note(id="note" name="note") << {{ban.note or ""}}
%input(type="hidden" name="domain", value="{{ban.domain}}")
%input(type="hidden" name="domain" value="{{ban.domain}}")
%input(type="submit" value="Update")
%td.date

View file

@ -3,19 +3,19 @@
-block content
%details.section
%summary << Add Instance
%form(target="/admin/instances", method="POST")
%form(target="/admin/instances" method="POST")
#add-instance
%label(for="domain") << Domain
%input(type="domain", id="domain" name="domain", placeholder="Domain")
%input(type="domain" id="domain" name="domain" placeholder="Domain")
%label(for="actor") << Actor URL
%input(type="url", id="actor" name="actor", placeholder="Actor URL")
%input(type="url" id="actor" name="actor" placeholder="Actor URL")
%label(for="inbox") << Inbox URL
%input(type="url", id="inbox" name="inbox", placeholder="Inbox URL")
%input(type="url" id="inbox" name="inbox" placeholder="Inbox URL")
%label(for="software") << Software
%input(name="software", id="software" placeholder="software")
%input(name="software" id="software" placeholder="software")
%input(type="submit" value="Add Instance")

View file

@ -3,7 +3,7 @@
-block content
%details.section
%summary << Ban Software
%form(action="/admin/software_bans", method="POST")
%form(action="/admin/software_bans" method="POST")
#add-software
%label(for="name") << Name
%input(id="name" name="name" placeholder="Name")
@ -38,7 +38,7 @@
.note << Note
%textarea.note(id="note" name="note") << {{ban.note or ""}}
%input(type="hidden" name="name", value="{{ban.name}}")
%input(type="hidden" name="name" value="{{ban.name}}")
%input(type="submit" value="Update")
%td.date

View file

@ -3,10 +3,10 @@
-block content
%details.section
%summary << Add Domain
%form(target="/admin/whitelist", method="POST")
%form(target="/admin/whitelist" method="POST")
#add-domain
%label(for="domain") << Domain
%input(type="domain", id="domain" name="domain", placeholder="Domain")
%input(type="domain" id="domain" name="domain" placeholder="Domain")
%input(type="submit" value="Add Domain")