Sha256: 0480cdec9624353637d7d0aea528f292551ca276d9a3913244fd3bddc7235214

Contents?: true

Size: 984 Bytes

Versions: 30

Compression:

Stored size: 984 Bytes

Contents

<% content_for :header do -%>
  <h2>User Details</h2>
<% end -%>

<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' %>
</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

30 entries across 30 versions & 1 rubygems

Version Path
saucy-0.5.5 app/views/profiles/edit.html.erb
saucy-0.5.4 app/views/profiles/edit.html.erb
saucy-0.5.3 app/views/profiles/edit.html.erb
saucy-0.5.2 app/views/profiles/edit.html.erb
saucy-0.5.1 app/views/profiles/edit.html.erb
saucy-0.5.0 app/views/profiles/edit.html.erb
saucy-0.4.10 app/views/profiles/edit.html.erb
saucy-0.4.9 app/views/profiles/edit.html.erb
saucy-0.4.8 app/views/profiles/edit.html.erb
saucy-0.4.7 app/views/profiles/edit.html.erb
saucy-0.4.6 app/views/profiles/edit.html.erb
saucy-0.4.5 app/views/profiles/edit.html.erb
saucy-0.4.4 app/views/profiles/edit.html.erb
saucy-0.4.3 app/views/profiles/edit.html.erb
saucy-0.4.2 app/views/profiles/edit.html.erb
saucy-0.4.1 app/views/profiles/edit.html.erb
saucy-0.3.4.1 app/views/profiles/edit.html.erb
saucy-0.4.0 app/views/profiles/edit.html.erb
saucy-0.3.4 app/views/profiles/edit.html.erb
saucy-0.3.3 app/views/profiles/edit.html.erb