Skip to content

Commit

Permalink
Merge pull request #180 from OpenConext/bugfix/otp-form-render
Browse files Browse the repository at this point in the history
Fix OTP form rendering classes
  • Loading branch information
MKodde authored Jan 23, 2024
2 parents 61a95ea + a2f3267 commit db638c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions assets/scss/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ div.middle {
#otpform {
width: 50%;
margin: 0 auto;
margin-top: 1em;
display: block;
float: none;

Expand Down
6 changes: 3 additions & 3 deletions templates/default/authentication.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@

<div id="otpform">
<form method="POST" class="form-inline">
<div class="input-group">
<input type="text" name="otp" tabindex="3"
<div class="form-group">
<input type="text" name="otp" tabindex="3" class="form-control"
placeholder="{{ 'login.qr.manual.otp' | trans }}"
autocomplete="off" />
autocomplete="off">
&nbsp;
<button type="submit" class="btn btn-primary">{{ 'login.qr.manual.button' | trans }}</button>
</div>
Expand Down

0 comments on commit db638c1

Please sign in to comment.