Sha256: a09272e5eec62af703b518755ca1cab68ffe00283580175e3644f467e81650a7

Contents?: true

Size: 573 Bytes

Versions: 2

Compression:

Stored size: 573 Bytes

Contents

%tr
  %td= translation.locale
  %td= translation.key
  - if translation.value.present? && translation.value.is_a?(String)
    %td= strip_tags(truncate(translation.value, lenght: 50))
  - else
    %td= translation.value
  %td= translation.interpolations
  %td.text-center= translation.created_at.strftime("%d/%m/%Y")
  %td
    = link_to 'Edit', edit_weeler_translation_path(translation.id), class: 'btn btn-default'
    = link_to 'Remove', weeler_translation_path(translation), data: { confirm: 'Are you sure you want to remove?' }, method: :delete, class: 'btn btn-danger'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
weeler-1.4.0 app/views/weeler/translations/_translation.html.haml
weeler-1.2.0 app/views/weeler/translations/_translation.html.haml