Sha256: df8f9b3de067e0138ce93ff5c672583c9ae01b24db323dfd689656535fd8492d

Contents?: true

Size: 891 Bytes

Versions: 25

Compression:

Stored size: 891 Bytes

Contents

= tabs do
  = tab 'Category' do
    - if cpd_category.persisted?
      .alert.alert-warning.mb-4
        Changes to categories and activities will be displayed in all #{cpd_cycles_label}.

    = render 'admin/cpd_categories/form_cpd_category', cpd_category: cpd_category

    - if cpd_category.persisted?
      %h2 Activities
      %p
        After adding an activity here, please visit any existing
        = link_to(cpd_cycle_label.capitalize + ' Settings', effective_cpd.admin_cpd_cycles_path)
        pages and build a rule before it will be displayed.

      - datatable = Admin::EffectiveCpdActivitiesDatatable.new(cpd_category_id: cpd_category.id)
      = render_datatable(datatable, inline: true, simple: true)

  - if cpd_category.persisted? && cpd_category.respond_to?(:log_changes_datatable)
    = tab 'Logs' do
      = render_inline_datatable(cpd_category.log_changes_datatable)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
effective_cpd-0.6.9 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.2.4 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.2.3 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.2.2 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.2.1 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.2.0 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.1.3 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.1.2 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.1.1 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.1.0 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-1.0.0 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.8 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.7 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.6 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.5 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.4 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.3 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.2 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.1 app/views/admin/cpd_categories/_form.html.haml
effective_cpd-0.6.0 app/views/admin/cpd_categories/_form.html.haml