Sha256: db5756e41a1ef0c619119351d9eae1db74514b4ee36347f502c8774a8e44b163

Contents?: true

Size: 608 Bytes

Versions: 4

Compression:

Stored size: 608 Bytes

Contents

- unless @ip_black_lists.blank?
  %ol.black_list
    - @ip_black_lists.each do |black|
      %li{ class: black.state }
        %p
          %b ip:
          = black.ip
          %b count:
          = black.count
          %b state:
          %span.state= black.state
        %p
          %b action: 
          = link_to :warning, ip_black_list_to_state_path(black, state: :warning), remote: true, method: :patch, class: :to_warning
          = link_to :banned,  ip_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/ip_black_lists/index.html.haml
the_comments-1.0.0 app/views/ip_black_lists/index.html.haml
the_comments-0.9.9 app/views/ip_black_lists/index.html.haml
the_comments-0.9.0 app/views/ip_black_lists/index.html.haml