test/dummy/app/views/demo/sign_in.html.et in express_admin-1.6.13 vs test/dummy/app/views/demo/sign_in.html.et in express_admin-1.7.1
- old
+ new
@@ -3,11 +3,11 @@
div(class: 'form-header') {
h3 "Sign In"
}
form(class: 'new_user', 'accept-charset' => "UTF-8", :action => "/users/sign_in", id: "new_user", method: "post") {
div(style: "display:none") {
- input name: "utf8", type: "hidden", value: "✓"
- input name: "authenticity_token", type: "hidden", value: "Zp9VllF7siBJvRs2etlWJdCBwxy9fbKoY01B33d1B50="
+ add_child helpers.utf8_enforcer_tag
+ add_child helpers.send(:token_tag)
}
label(class: 'hide', for: "user_email") { "Email" }
input autofocus: "autofocus", id: "user_email", name: "user[email]", placeholder: "Email", type: "email", value: ""
label(class: 'hide', for: "user_password") { "Password" }