Sha256: cae4237740638fcf86f7066ea530696693c799c77719a5b607db2dfadf91ee8e

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

<div class="user">
  <h2><a id="user_<%= @user.login %>" href="<%= @user.url %>">User <%=h @user.name %></a></h2>
  <div class="byline">
    <% if @user.admin %>
      Administrator,
    <% end %>
    Created on <%= date_line @user %>
  </div>
  <div class="body">
    <table>
      <tbody>
        <tr>
          <th>Name</td>
          <td><%=h @user.name %></td>
        </tr>
         <tr>
          <th>E-Mail Address</td>
          <td><a href="mailto:<%= attr_h @user.email %>"><%= h @user.email %></td>
        </tr>
          <tr>
          <th>HTTP Address</td>
          <td><a href="<%= attr_h @user.http %>"><%= h @user.http %></td>
        </tr>
      </tbody>
    </table>
  </div>
  <div class="footer">
    <ul class="actions">
      <% if admin? %>
        <li><a href="/users/edit/<%= @user.login %>">
          <img src="/images/edit.gif" class="icon" alt="comment" /> Edit
        </a></li>
        <li><%= A '<img src="/images/delete.gif" class="icon" alt="delete" /> Delete', :href => "/users/delete/#{@user.login}", :onclick => "return confirm('Are you sure you want to delete this user?');" %></li>
      <% end %>
    </ul>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cortex-reaver-0.0.1 lib/cortex_reaver/view/users/show.rhtml
cortex-reaver-0.0.4 lib/cortex_reaver/view/users/show.rhtml
cortex-reaver-0.0.3 lib/cortex_reaver/view/users/show.rhtml
cortex-reaver-0.0.2 lib/cortex_reaver/view/users/show.rhtml
cortex-reaver-0.0.5 lib/cortex_reaver/view/users/show.rhtml
cortex-reaver-0.0.6 lib/cortex_reaver/view/users/show.rhtml
cortex-reaver-0.0.7 lib/cortex_reaver/view/users/show.rhtml