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

Version Path
saucy-0.1.13 app/views/profiles/edit.html.erb
saucy-0.1.12 app/views/profiles/edit.html.erb
saucy-0.1.11 app/views/profiles/edit.html.erb
saucy-0.1.9 app/views/profiles/edit.html.erb
saucy-0.1.8 app/views/profiles/edit.html.erb
saucy-0.1.7 app/views/profiles/edit.html.erb
saucy-0.1.6 app/views/profiles/edit.html.erb
saucy-0.1.5 app/views/profiles/edit.html.erb
saucy-0.1.4 app/views/profiles/edit.html.erb
saucy-0.1.3 app/views/profiles/edit.html.erb
saucy-0.1.2 app/views/profiles/edit.html.erb
saucy-0.1.1 app/views/profiles/edit.html.erb