Force user email to lower case. Include action on all forms.
This commit is contained in:
parent
1ccb0cad1a
commit
eafde27809
14 changed files with 100 additions and 50 deletions
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
</article>
|
||||
{{- else}}
|
||||
<form id="contact" method="post" hx-post>
|
||||
<form id="contact" method="post" hx-post="{{call .ToURL "contact.post"}}">
|
||||
<div class="field">
|
||||
<label for="email" class="label">Email address</label>
|
||||
<div class="control">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{{define "content"}}
|
||||
<form method="post" hx-boost="true">
|
||||
<form method="post" hx-boost="true" action="{{call .ToURL "login.post"}}">
|
||||
{{template "messages" .}}
|
||||
<div class="field">
|
||||
<label for="email" class="label">Email address</label>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{{define "content"}}
|
||||
<form method="post" hx-boost="true">
|
||||
<form method="post" hx-boost="true" action="{{call .ToURL "register.post"}}">
|
||||
<div class="field">
|
||||
<label for="name" class="label">Name</label>
|
||||
<div class="control">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{{define "content"}}
|
||||
<form method="post" hx-boost="true">
|
||||
<form method="post" hx-boost="true" action="{{call .ToURL "forgot_password.post"}}">
|
||||
<div class="field">
|
||||
<label for="password" class="label">Password</label>
|
||||
<div class="control">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue