Sha256: 50997113a76e3936ffa2d79bf012abde935615f1cbba81562d3973a5ca3dd381

Contents?: true

Size: 493 Bytes

Versions: 7

Compression:

Stored size: 493 Bytes

Contents

<div style="position: fixed; left: 0; right: 0; bottom: 0; height: 42px; line-height: 36px; background: black; padding-left: 4px; z-index: 100;">
  <form action="/tester_bar/login_as">
    <%= select_tag "email", options_for_select(User.unretired.map { |u| [u.role == "Member" ? u.name : "#{u.name} (#{u.role})", u.email] }, current_user.try(:email)), :style => "margin-bottom: 0" %>
    <button class="btn btn-primary" type="submit" title="Log in as any user">Login</button>
  </form>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
houston-core-0.8.4 app/views/layouts/_tester_bar.html.erb
houston-core-0.8.3 app/views/layouts/_tester_bar.html.erb
houston-core-0.8.2 app/views/layouts/_tester_bar.html.erb
houston-core-0.8.1 app/views/layouts/_tester_bar.html.erb
houston-core-0.8.0 app/views/layouts/_tester_bar.html.erb
houston-core-0.8.0.pre2 app/views/layouts/_tester_bar.html.erb
houston-core-0.8.0.pre app/views/layouts/_tester_bar.html.erb