Sha256: e953f57416b512b8e14bbd474635682bf8ff300de08a1d8d20dd2180df124df7

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

<% content_for :meta_title, 'My Profile' %>
<% content_for :meta_description, "My profile administration section for the logged in user" %>

<%= render 'tab_menu' %>

<div id="profile-title">
  <% if @profile.other_name.present? %>
    <h1>
      <%= @profile.other_name %><br />
      <span class="secondary-name"><%= @profile.name %></span>
    </h1>
  <% else %>
    <h1><%= @profile.name %></h1>
  <% end %>
</div>

<table id="profile-attributes">
  <tbody>
    <tr><td class="section" colspan="2"><span class="label label-danger">private information</span></td></tr>
    <tr><td class="key"><span class="glyphicon glyphicon-envelope"></span> email address</td><td class="value"><%= @profile.email %></td></tr>
    <%= render 'custom_private_profile_attributes' %>
    <tr><td class="section" colspan="2"><span class="label label-success">public information</span></td></tr>
    <tr><td class="key">first name</td><td class="value"><%= @profile.first_name %></td></tr>
    <tr><td class="key">last name</td><td class="value"><%= @profile.last_name %></td></tr>
    <tr><td class="key"><%= render 'shared/other_name_label' %></td><td class="value"><%= @profile.other_name %></td></tr>
    <%= render 'custom_public_profile_attributes' %>
  </tbody>
</table>

<p class="text-center"><%= link_to "<span class=\"glyphicon glyphicon-pencil\"></span> change your info".html_safe, edit_profile_path, class: 'btn btn-sm btn-default' %></p>

<%= render'admin_context_menu' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tkh_mailing_list-0.10 app/views/profiles/show.html.erb