app/views/devise/paranoid_verification_code/show.html.erb in devise-security-0.11.1 vs app/views/devise/paranoid_verification_code/show.html.erb in devise-security-0.12.0
- old
+ new
@@ -1,10 +1,10 @@
<h2>Submit verification code</h2>
-<%= form_for(resource, :as => resource_name, :url => [resource_name, :paranoid_verification_code], :html => { :method => :put }) do |f| %>
+<%= form_for(resource, as: resource_name, url: [resource_name, :paranoid_verification_code], html: { method: :put }) do |f| %>
<%= devise_error_messages! %>
<p><%= f.label :paranoid_verification_code, 'Verification code' %><br />
<%= f.text_field :paranoid_verification_code, value: '' %></p>
- <p><%= f.submit "Submit" %></p>
+ <p><%= f.submit 'Submit' %></p>
<% end %>