lib/generators/authentication/templates/erb/sessions/sudos/new.html.erb.tt in authentication-zero-2.9.3 vs lib/generators/authentication/templates/erb/sessions/sudos/new.html.erb.tt in authentication-zero-2.10.0
- old
+ new
@@ -2,13 +2,13 @@
<h1>Enter your password to continue</h1>
<%%= form_with(url: sessions_sudo_path) do |form| %>
- <%%= hidden_field_tag :proceed_to_url, params[:proceed_to_url] %>
+ <%%= form.hidden_field :proceed_to_url, value: params[:proceed_to_url] %>
<div>
- <%%= password_field_tag :password, nil, required: true, autofocus: true, autocomplete: "current-password" %>
+ <%%= form.password_field :password, required: true, autofocus: true, autocomplete: "current-password" %>
</div>
<div>
<%%= form.submit "Continue" %>
</div>