Move controller to the template renderer (#68)
This commit is contained in:
parent
baa391fb20
commit
8eafb6b666
26 changed files with 654 additions and 679 deletions
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
</article>
|
||||
{{- else}}
|
||||
<form id="contact" method="post" hx-post="{{url "contact.post"}}">
|
||||
<form id="contact" method="post" hx-post="{{url "contact.submit"}}">
|
||||
<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" action="{{url "forgot_password.post"}}">
|
||||
<form method="post" hx-boost="true" action="{{url "forgot_password.submit"}}">
|
||||
<div class="content">
|
||||
<p>Enter your email address and we'll email you a link that allows you to reset your password.</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{{define "content"}}
|
||||
<form method="post" hx-boost="true" action="{{url "login.post"}}">
|
||||
<form method="post" hx-boost="true" action="{{url "login.submit"}}">
|
||||
{{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" action="{{url "register.post"}}">
|
||||
<form method="post" hx-boost="true" action="{{url "register.submit"}}">
|
||||
<div class="field">
|
||||
<label for="name" class="label">Name</label>
|
||||
<div class="control">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue