Fix integration of form buttons in button groups
Change-Id: Ic6b48cbbcc182ebb52644dd4163f005d8abc73b6
diff --git a/lib/Kalamar/Plugin/Auth/templates/auth/client.html.ep b/lib/Kalamar/Plugin/Auth/templates/auth/client.html.ep
index 392a514..d42bf93 100644
--- a/lib/Kalamar/Plugin/Auth/templates/auth/client.html.ep
+++ b/lib/Kalamar/Plugin/Auth/templates/auth/client.html.ep
@@ -46,14 +46,14 @@
% if ($_->{scope}) {
<p name="scope">Scope: <tt><%= join ',', @{$_->{scope}} %></tt></p>
% };
- <span class="button-group button-panel">
- %= form_for 'oauth-revoke-token' => {} => ( class => 'token-revoke' ), begin
- %= csrf_field
- <input type="hidden" name="name" value="<%= stash('client_name') %>" />
- <input type="hidden" name="token" value="<%= $_->{token} %>" />
+ %= form_for 'oauth-revoke-token' => {} => ( class => 'token-revoke' ), begin
+ %= csrf_field
+ <input type="hidden" name="name" value="<%= stash('client_name') %>" />
+ <input type="hidden" name="token" value="<%= $_->{token} %>" />
+ <span class="button-group button-panel">
<input type="submit" value="<%= loc 'Auth_oauthRevokeToken_short' %>" />
- % end
- </span>
+ </span>
+ % end
</li>
% }
</ul>