Sha256: 7a6283e568a3fd574ee707fa4e184f07b8abf427fd48246b6d20d3aac47a07e5

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

<%= render :partial => 'header' %>

<% if @users.any? %>
    <%= render :partial => 'user', :collection => @users %>
<% else %>
    <%= render 'add_users_message' %>
 <% end %>

<!--CSS-->

<style type="text/css">
  /* Grabbed from here: http://www.456bereastreet.com/archive/201110/styling_button_elements_to_look_like_links/ */
  .current_user_signin_button {
      overflow:visible; /* Shrinkwrap the text in IE7- */
      margin:0;
      padding:0;
      border:0;
      background:transparent;
      font:inherit; /* Inherit font settings (doesn’t work in IE7-) */
      line-height:normal; /* Override line-height to avoid spacing issues */
      text-decoration:underline; /* Make it look linky */
      cursor:pointer; /* Buttons don’t make the cursor change in all browsers */
      -moz-user-select:text; /* Make button text selectable in Gecko */
  }
  /* Make sure keyboard users get visual feedback */
  .current_user_signin_button:hover,
  .current_user_signin_button:focus {
      color:#800000;
      background-color:#e3e0d1;
  }
  /* Remove mystery padding in Gecko browsers.
   * See https://bugzilla.mozilla.org/show_bug.cgi?id=140562
   */
  .current_user_signin_button::-moz-focus-inner {
      padding:0;
      border:0;
  }
</style>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
current_user-0.2.1 app/views/current_user/sessions/new.html.erb
current_user-0.2.0 app/views/current_user/sessions/new.html.erb