Sha256: 9ff9fe633980855c7e6cd0f2737ef5d16f3323bc550570e751fc828b1a3c3607

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

<div class="user">
  <h2><a id="user_<%= @user.login %>" href="<%= @user.url %>">User <%=h @user.name %></a></h2>
  <div class="byline">
    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 user.can_edit? @user %>
        <li><a href="/users/edit/<%= @user.id %>">
          <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

2 entries across 2 versions & 1 rubygems

Version Path
cortex-reaver-0.0.8 lib/cortex_reaver/view/users/show.rhtml
cortex-reaver-0.0.9 lib/cortex_reaver/view/users/show.rhtml