Sha256: 25c217ee99b75ba44448cd85e916d35826ec22350bdca8407d4f731d55bb792e
Contents?: true
Size: 998 Bytes
Versions: 3
Compression:
Stored size: 998 Bytes
Contents
<table class="ui very basic large table"> <thead> <tr> <th class="three wide"></th> <th> <%= link_to t('.edit'), edit_my_user_path, class: 'ui mini blue right floated button' %> </th> </tr> </thead> <tbody> <tr> <td></td> <td> <div class="ui image"> <% if current_user.avatar.attached? %> <%= image_tag current_user.avatar.variant(resize: '200x200') %> <% else %> <%= image_tag 'default_avatar.jpg', size: '200x200' %> <% end %> </div> </td> </tr> <tr> <td class="right aligned"><%= User.human_attribute_name(:name) %></td> <td><%= @user.name %></td> </tr> <tr> <td class="right aligned"><%= User.human_attribute_name(:email) %></td> <td><%= @user.email %></td> </tr> <tr> <td class="right aligned"><%= User.human_attribute_name(:mobile) %></td> <td><%= @user.mobile %></td> </tr> </tbody> </table>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_auth-1.0.6 | app/views/auth/my/users/show.html.erb |
rails_auth-1.0.5 | app/views/rails_auth_my/users/show.html.erb |
rails_auth-1.0.4 | app/views/rails_auth_my/users/show.html.erb |