From 2223695d152056ea570fb49a7423b45818a8d003 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Mon, 4 Mar 2024 01:14:17 -0500 Subject: [PATCH] remove commas in element attributes --- relay/frontend/page/admin-domain_bans.haml | 4 ++-- relay/frontend/page/admin-instances.haml | 10 +++++----- relay/frontend/page/admin-software_bans.haml | 4 ++-- relay/frontend/page/admin-whitelist.haml | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/relay/frontend/page/admin-domain_bans.haml b/relay/frontend/page/admin-domain_bans.haml index ddf1947..982c00d 100644 --- a/relay/frontend/page/admin-domain_bans.haml +++ b/relay/frontend/page/admin-domain_bans.haml @@ -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 diff --git a/relay/frontend/page/admin-instances.haml b/relay/frontend/page/admin-instances.haml index ae26d7a..3cadc93 100644 --- a/relay/frontend/page/admin-instances.haml +++ b/relay/frontend/page/admin-instances.haml @@ -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") diff --git a/relay/frontend/page/admin-software_bans.haml b/relay/frontend/page/admin-software_bans.haml index efe6f12..b03e1a7 100644 --- a/relay/frontend/page/admin-software_bans.haml +++ b/relay/frontend/page/admin-software_bans.haml @@ -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 diff --git a/relay/frontend/page/admin-whitelist.haml b/relay/frontend/page/admin-whitelist.haml index be31f0d..2fba308 100644 --- a/relay/frontend/page/admin-whitelist.haml +++ b/relay/frontend/page/admin-whitelist.haml @@ -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")