Sha256: 602a91f217c2b8d046f0ca4b3e8527d21a9a14f34aa62f30136ee2b7584bf774

Contents?: true

Size: 888 Bytes

Versions: 52

Compression:

Stored size: 888 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 %>
    <% end %>

    <%= form.buttons do %>
      <%= form.commit_button "Update" %>
    <% end %>
  <% end %>
</div>

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
saucy-0.16.1 app/views/profiles/edit.html.erb
saucy-0.16.0 app/views/profiles/edit.html.erb
saucy-0.15.2 app/views/profiles/edit.html.erb
saucy-0.15.1 app/views/profiles/edit.html.erb
saucy-0.15.0 app/views/profiles/edit.html.erb
saucy-0.14.5 app/views/profiles/edit.html.erb
saucy-0.14.3 app/views/profiles/edit.html.erb
saucy-0.10.10 app/views/profiles/edit.html.erb
saucy-0.14.2 app/views/profiles/edit.html.erb
saucy-0.14.1 app/views/profiles/edit.html.erb
saucy-0.14.0 app/views/profiles/edit.html.erb
saucy-0.13.3 app/views/profiles/edit.html.erb
saucy-0.13.2 app/views/profiles/edit.html.erb
saucy-0.10.9 app/views/profiles/edit.html.erb
saucy-0.10.8 app/views/profiles/edit.html.erb
saucy-0.13.1 app/views/profiles/edit.html.erb
saucy-0.13.0 app/views/profiles/edit.html.erb
saucy-0.12.5 app/views/profiles/edit.html.erb
saucy-0.12.4 app/views/profiles/edit.html.erb
saucy-0.12.3 app/views/profiles/edit.html.erb