Sha256: 087c908dd689bef111a259a900c0f73eddc6738c10484326210f54932ddea0b3
Contents?: true
Size: 1.23 KB
Versions: 21
Compression:
Stored size: 1.23 KB
Contents
%div{ class: "#{index == 0 ? 'tab-pane active' : 'tab-pane' }", id: translation_key.id } %p .tabbable %ul.nav.nav-tabs %li.active %a.translations_tab{'data-key-id' => translation_key.id, "data-toggle" => "tab", :href => "#translations#{translation_key.id}"} %span.badge.badge-info.pull-left.translations_count{ id: "translations_#{translation_key.id}_count"} = translation_key.translations.in(to_lang).count %span = t('.Translations') %li %a{"data-toggle" => "tab", :href => "#add_translations#{translation_key.id}"} = t('.Add/Edit_Translation') .tab-content .tab-pane.active{ id: "translations#{translation_key.id}" } = render 'translation_center/translations/index', translations: translation_key.translations.order('created_at DESC').in(to_lang), translation_key: translation_key .tab-pane{ id: "add_translations#{translation_key.id}" } %em %b = t(translation_key.name) %hr .user_translation.well.well-small{ 'data-key-id' => translation_key.id } = current_user.translation_for(translation_key, to_lang).value
Version data entries
21 entries across 21 versions & 1 rubygems