Sha256: cf16ec54544010463499bd30f2d42a923dfbaceb0d2d12ad05b29716de945247

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 Bytes

Contents

- unless @ip_black_lists.blank?
  %ol.black_list
    - @ip_black_lists.each do |black|
      %li{ class: black.state }
        %p
          %b user_agent:
          = black.user_agent
          %b count:
          = black.count
          %b state:
          %span.state= black.state
        %p
          %b action: 
          = link_to :warning, user_agent_black_list_to_state_path(black, state: :warning), remote: true, method: :patch, class: :to_warning
          = link_to :banned,  user_agent_black_list_to_state_path(black, state: :banned),  remote: true, method: :patch, class: :to_banned
- else
  %p= t('the_comments.item_not_found')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
the_comments-1.1.0 app/views/user_agent_black_lists/index.html.haml
the_comments-1.0.0 app/views/user_agent_black_lists/index.html.haml
the_comments-0.9.9 app/views/user_agent_black_lists/index.html.haml
the_comments-0.9.0 app/views/user_agent_black_lists/index.html.haml