app/views/trestle/auth/_otp.html.erb in trestle-auth-otp-0.2.0 vs app/views/trestle/auth/_otp.html.erb in trestle-auth-otp-0.2.1
- old
+ new
@@ -1,8 +1,8 @@
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lock fa-fw"></i></span>
</div>
- <%= text_field_tag :otp_code_token, "", placeholder: 'Token', class: 'form-control' %>
+ <%= f.text_field :otp_code_token, placeholder: 'Token', class: 'form-control' %>
</div>
</div>