Skip to content

Commit

Permalink
Merge pull request #3 from Tom-Fawcett/html-tweaks
Browse files Browse the repository at this point in the history
Tweak form and input
  • Loading branch information
sstark authored Nov 12, 2020
2 parents ec95179 + 4e63dab commit 0fc49d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const (
</p>
<ul>
{{if .AllowAnonymous}}<p>Create a secret below:</p>
<div id="create-secret-container"><form method="POST" action="/create"><input name="secret" class="create-secret-form-control" placeholder="Enter secret to share" /><button class="create-secret-form-control">Submit</button></form></div>{{end}}
<div id="create-secret-container"><form method="POST" action="/create" autocomplete="off"><input name="secret" class="create-secret-form-control" placeholder="Enter secret to share" autofocus required/><button class="create-secret-form-control">Submit</button></form></div>{{end}}
<li><a href="https://github.com/sstark/gjfy">
<img src="gjfy-logo-small.png" alt="gjfy-logo" class="gjfy-footer-logo-small"> Homepage</a>
<li><a href="gjfy-post">Download command line client</a>
Expand Down

0 comments on commit 0fc49d1

Please sign in to comment.