Sha256: 170386b81d74aa0629d974b47cdb23abb22cc5b9e5b059abf7ee72c5d0d460f1

Contents?: true

Size: 666 Bytes

Versions: 12

Compression:

Stored size: 666 Bytes

Contents

<div class="authbox">
  <% if logged_in? -%>
      <%= image_tag('ae_users/user.png') %>
      <%= link_to  logged_in_person.name, 
          :controller => 'account', :action => 'edit_profile' %>
      <% if logged_in_person.administrator? -%>
        |
        <%= image_tag "ae_users/admin.png" %>
        <%= link_to "Administration", :controller => 'permission', :action => 'admin' %>
      <% end -%>
      |
      <%= image_tag "ae_users/logout.png" %>
      <%= link_to "Log out", :controller => 'auth', :action => 'logout' %>
  <% else -%>
      <%= link_to "Log in", :controller => 'auth', :action => 'login', :return_to => url_for() %>
  <% end -%>
</div>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
ae_users_legacy-0.6.14 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.13 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.12 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.11 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.10 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.9 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.8 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.7 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.6 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.5 app/views/auth/_mini_auth_form.rhtml
ae_users_legacy-0.6.3 app/views/auth/_mini_auth_form.rhtml
ae_users-0.6.0 app/views/auth/_mini_auth_form.rhtml