Sha256: 64b5b3a96d8546225dbc4a737b2829b92d221a5267a98794b7a16dbef6423658
Contents?: true
Size: 1.4 KB
Versions: 5
Compression:
Stored size: 1.4 KB
Contents
/ <h2>Edit <haml:loud> resource_name.to_s.humanize </haml:loud></h2> <haml:loud> form_for(resource, :as =&gt; resource_name, :url =&gt; registration_path(resource_name), :html =&gt; { :method =&gt; :put }) do |f| </haml:loud><haml:block> <haml:loud> devise_error_messages! </haml:loud> <div><haml:loud> f.label :email </haml:loud><br /> <haml:loud> f.email_field :email, :autofocus =&gt; true </haml:loud></div> <div><haml:loud> f.label :password </haml:loud> <i>(leave blank if you don't want to change it)</i><br /> <haml:loud> f.password_field :password, :autocomplete =&gt; &quot;off&quot; </haml:loud></div> <div><haml:loud> f.label :password_confirmation </haml:loud><br /> <haml:loud> f.password_field :password_confirmation </haml:loud></div> <div><haml:loud> f.label :current_password </haml:loud> <i>(we need your current password to confirm your changes)</i><br /> <haml:loud> f.password_field :current_password </haml:loud></div> <div><haml:loud> f.submit &quot;Update&quot; </haml:loud></div> </haml:block> <h3>Cancel my account</h3> <p>Unhappy? <haml:loud> link_to &quot;Cancel my account&quot;, registration_path(resource_name), :data =&gt; { :confirm =&gt; &quot;Are you sure?&quot; }, :method =&gt; :delete </haml:loud>.</p> <haml:loud> link_to &quot;Back&quot;, :back </haml:loud>
Version data entries
5 entries across 5 versions & 1 rubygems