Sha256: 45ad95083b1bbe07fe97aa067c886f5f208acaf371edccf39d685cc3a590f8d6
Contents?: true
Size: 948 Bytes
Versions: 12
Compression:
Stored size: 948 Bytes
Contents
<h2>User Details</h2> <div id="user_accounts"> <h3>Accounts</h3> <ul> <% @user.accounts.each do |account| -%> <li> <%= link_to edit_account_path(account) do -%> <h4><%= account.name %></h4> <p class="edit-account">edit account</p> <% end -%> </li> <% end -%> </ul> <%= link_to 'Add new account', plans_path, :class => 'new-account button' %> </div> <div id="login_info"><h3>Login Information</h3> <%= semantic_form_for @user, :url => profile_path do |form| %> <%= form.inputs do %> <%= form.input :name %> <%= form.input :email %> <% end %> <%= form.inputs do %> <%= form.input :password, :label => "New password", :required => true %> <%= form.input :password_confirmation, :label => "Confirm password", :required => true %> <% end %> <%= form.buttons do %> <%= form.commit_button "Update" %> <% end %> <% end %> </div>
Version data entries
12 entries across 12 versions & 1 rubygems