Sha256: 54cc737fc9907d87e3f118fdc8234a761fbcc7f049a009eefa7267b025bb6302
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 KB
Contents
- objects.each do |theme| %tr{ id: "row-#{theme.id}" } %td.item-check{ style: 'width: 10%' } %td = link_to admin_frontend_theme_show_covers_path(theme), remote: true, class: 'show-row' do %span = theme.name %td.hidden-xs %span = simple_form_for [:admin, :frontend, theme], url: admin_frontend_theme_path(theme) , method: :patch do |f| .check_active{onclick: "installTemplate(#{theme.id})"} = f.input :active, as: :keppler_boolean, label: false %td %span %center - if can?(KepplerFrontend::Theme).destroy? && !theme.name.eql?('keppler_default') && !theme.active? = link_to admin_frontend_theme_path(theme), class: 'new-menu', style: "display: inline", title: t('keppler.actions.delete'), method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do %i.icon-trash :javascript function installTemplate(customize_id) { $('.spinner').css('display', 'block'); $('#edit_theme_'+customize_id).submit() }
Version data entries
4 entries across 4 versions & 1 rubygems