~emersion/sinwon

f135edf4af1ba1e3bf295761b03eadf6bc43660e — Simon Ser 7 months ago 63aed4a
Push cancel buttons to the right
3 files changed, 3 insertions(+), 3 deletions(-)

M template/authorize.html
M template/manage-client.html
M template/manage-user.html
M template/authorize.html => template/authorize.html +1 -1
@@ 21,8 21,8 @@
</p>

<form method="post" action="">
	<button type="submit" name="deny">Cancel</button>
	<button type="submit" name="authorize">Authorize</button>
	<button type="submit" name="deny">Cancel</button>
</form>

</main>

M template/manage-client.html => template/manage-client.html +1 -1
@@ 37,7 37,6 @@
	<textarea name="redirect_uris">{{ .Client.RedirectURIs }}</textarea><br>
	<small>The special URI <code>http://localhost</code> matches all loopback interfaces.</small><br>

	<a href="/"><button type="button">Cancel</button></a>
	<button type="submit">
		{{ if .Client.ID }}
			Update client


@@ 51,6 50,7 @@
		{{ end }}
		<button type="submit" name="delete">Delete client</button>
	{{ end }}
	<a href="/"><button type="button">Cancel</button></a>
</form>

</main>

M template/manage-user.html => template/manage-user.html +1 -1
@@ 14,7 14,6 @@
		</label><br>
	{{ end }}

	<a href="/"><button type="button">Cancel</button></a>
	<button type="submit">
		{{ if .User.ID }}
			Update user


@@ 22,6 21,7 @@
			Create user
		{{ end }}
	</button>
	<a href="/"><button type="button">Cancel</button></a>
</form>

</main>