{{ define "login-component" }}<form method="post" action="/login"> <div style="display: grid;"> <input type="text" placeholder="username" name="username"> <input type="password" placeholder="password" name="password"> <input type="submit" value="Enter"> </div></form>{{ end }}
{{ define "login-component" }}
<form method="post" action="/login">
<div style="display: grid;">
<input type="text" placeholder="username" name="username">
<input type="password" placeholder="password" name="password">
<input type="submit" value="Enter">
</div>
</form>
{{ end }}