Sha256: 85eb77c4cbe1d202151a030b4f576f5ef10a7e682b80703f6c48658197d33124

Contents?: true

Size: 916 Bytes

Versions: 5

Compression:

Stored size: 916 Bytes

Contents

= form_tag url_for(action: :batch_action), method: :post do
  = block
  .list-actions
    - if with_publication
      button.btn.btn-secondary.btn-sm type="submit" name="set_published_on"
        = I18n.t('labels.admin.batch_actions.set_published_on')
      button.btn.btn-secondary.btn-sm type="submit" name="set_published_off"
        = I18n.t('labels.admin.batch_actions.set_published_off')
    - if with_nav_publication
      button.btn.btn-secondary.btn-sm type="submit" name="set_nav_published_on"
        = I18n.t('labels.admin.batch_actions.set_nav_published_on')
      button.btn.btn-secondary.btn-sm type="submit" name="set_nav_published_off"
        = I18n.t('labels.admin.batch_actions.set_nav_published_off')
    - if with_destroy
      button.btn.btn-secondary.btn-sm type="submit" name="destroy" data-confirm="#{t('confirmations.destroy.many')}"
        = I18n.t('labels.admin.batch_actions.destroy')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/auto/app/views/shared/helpers/admin/_batch_actions_tag.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/auto/app/views/shared/helpers/admin/_batch_actions_tag.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/auto/app/views/shared/helpers/admin/_batch_actions_tag.slim
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/auto/app/views/shared/helpers/admin/_batch_actions_tag.slim
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/auto/app/views/shared/helpers/admin/_batch_actions_tag.slim