Sha256: d2615962ee5bf5f9dcffacdd75659471174eb98fe04f4b2b1b423bca2dae3d86

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 Bytes

Contents

= link_to "#{t('.back_to_category')} #{@translation_key.category.name.titleize}", @translation_key.category, class: 'btn btn-primary'

%h1
  = @translation_key.name
  - if translation_admin?
    = link_to t('.destroy'), @translation_key, method: :delete, data: { confirm: t('actions.are_you_sure', :default => 'Are you sure?') }, class: 'btn btn-danger'

= render 'translation_center/translation_keys/show', translation_key: @translation_key, index: 0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
translation_center-1.2.1 app/views/translation_center/translation_keys/show.html.haml
translation_center-1.2.0 app/views/translation_center/translation_keys/show.html.haml
translation_center-1.1.0 app/views/translation_center/translation_keys/show.html.haml