Sha256: dc05edc10a4948a91fc30b368200fd5dadb7c3b76eaabeb7a09d319790433b1f

Contents?: true

Size: 462 Bytes

Versions: 42

Compression:

Stored size: 462 Bytes

Contents

- if @emoticons.blank?
  =t('.no_emoticons')
- else
  %table.table
    -@emoticons.each do |smile|
      %tr
        %td= smile.code
        %td
          %img{ src: emoticon_url_for(smile), class: 'smile' }
        %td= smile.is_active
        %td= link_to t('.edit'), edit_admin_emoticon_path(smile)
        %td= link_to t('.delete'), admin_emoticon_path(smile), method: :delete, data: { confirm: "Are you sure?" }


=link_to t('.add'), new_admin_emoticon_path

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta25 app/views/my_forum/admin/emoticons/index.haml
my_forum-0.0.1.beta24 app/views/my_forum/admin/emoticons/index.haml