Sha256: 0a1765c390dae4a370951ff0337f6f3c80822f9d48ddff647ebdb844f778c15e

Contents?: true

Size: 787 Bytes

Versions: 5

Compression:

Stored size: 787 Bytes

Contents

<%= render 'cally/shared/header' %>
<%= render 'cally/shared/messages' %>

<div class="row">
  <div class="col-md-4 col-md-offset-4">
    <div class="padded-mobile">
      <h1 class="centered">Welcome <%= sanitize @user.username %></h1>
      <% if @user.admin %>
        <div class="btn btn-success btn-block">ADMIN</div>
      <% end %>
      <div class="centered user-show-info">Signed Up: <%= @user.created_at.to_s(:omw_long) %></div>
      <div class="centered user-show-info">Last Login: <%= @user.last_logged_in_time.to_s(:omw_long) %></div>
      <div class="centered user-show-info">Last reset password attempt: <%= @user.retry_date.strftime('%A %e, %B %Y') %></div>
    </div> <!-- end padded-mobile div //-->
  </div> <!-- end col-md-4 div //-->
</div> <!-- end row div //-->

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cally-2.0.0 app/views/cally/users/show.html.erb
cally-1.0.3 app/views/cally/users/show.html.erb
cally-1.0.2 app/views/cally/users/show.html.erb
cally-1.0.1 app/views/cally/users/show.html.erb
cally-1.0.0 app/views/cally/users/show.html.erb