Sha256: 5a5888832d388c4d44475f6749ae945e681fbc59ed0a2d25ae222716a2cff4a8
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
<table width="100%" class="login_attempts"> <thead> <tr> <th class="browser_info"><%= CASino::LoginAttempt.human_attribute_name(:browser_info) %></th> <th class="user_ip"><%= CASino::LoginAttempt.human_attribute_name(:user_ip) %></th> <th class="created_at"><%= CASino::LoginAttempt.human_attribute_name(:created_at) %></th> <th class="successful"><%= CASino::LoginAttempt.human_attribute_name(:successful) %></th> </tr> </thead> <tbody> <% @login_attempts.each do |login_attempt| %> <tr> <td data-label="<%= CASino::LoginAttempt.human_attribute_name(:browser_info) %>"> <%= login_attempt.browser_info %> </td> <td data-label="<%= CASino::LoginAttempt.human_attribute_name(:user_ip) %>"> <%= login_attempt.user_ip %> </td> <td data-label="<%= CASino::LoginAttempt.human_attribute_name(:created_at) %>"> <%= l login_attempt.created_at %> </td> <td class="successful" data-label="<%= CASino::LoginAttempt.human_attribute_name(:successful) %>"> <%= (login_attempt.successful ? '✅' : '❌').html_safe %> </td> </tr> <% end %> </tbody> </table>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
casino-4.1.2 | app/views/casino/login_attempts/_table.html.erb |
casino-4.1.1 | app/views/casino/login_attempts/_table.html.erb |
casino-4.1.0 | app/views/casino/login_attempts/_table.html.erb |