Sha256: 1e8da880db3cd37a2c5c86031c2ccfe63ab17544f7f92bc07feca6843522de7b

Contents?: true

Size: 766 Bytes

Versions: 9

Compression:

Stored size: 766 Bytes

Contents

<div class="mu-user-header">
  <h1><%= @user.name %></h1>
  <div class="mu-profile-actions">
    <%= edit_profile_button %>
  </div>
</div>
<div class="row mu-tab-body">
  <div class="col-md-4 text-center">
    <%= profile_picture_for(@user, id: 'mu-user-avatar', class: 'mu-user-avatar') %>
  </div>
  <div class="col-md-8 mu-profile-info">
    <% if @user.age.present? %>
      <div>
        <span> <strong><%= t :age %>:</strong> <%= "#{@user.age} #{t :years}" %> </span>
      </div>
    <% end %>
    <div>
      <span> <strong><%= t :email %>:</strong> <%= @user.email %> </span>
    </div>
    <div>
      <span> <strong><%= t :programming_since %>:</strong> <%= t(:time_since, time: time_ago_in_words(@user.created_at)) %> </span>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mumuki-laboratory-7.10.5 app/views/users/_user_form.html.erb
mumuki-laboratory-7.10.4 app/views/users/_user_form.html.erb
mumuki-laboratory-7.10.3 app/views/users/_user_form.html.erb
mumuki-laboratory-7.10.2 app/views/users/_user_form.html.erb
mumuki-laboratory-7.10.1 app/views/users/_user_form.html.erb
mumuki-laboratory-7.10.0 app/views/users/_user_form.html.erb
mumuki-laboratory-7.9.2 app/views/users/_user_form.html.erb
mumuki-laboratory-7.9.1 app/views/users/_user_form.html.erb
mumuki-laboratory-7.9.0 app/views/users/_user_form.html.erb