Sha256: d94f422c419c52c52f7b67a793fd91025d4b5de385aa5866b3756f25d8b0464c

Contents?: true

Size: 851 Bytes

Versions: 32

Compression:

Stored size: 851 Bytes

Contents

#cpd-statement-activities
  .row
    .col-3
    .col-9
      %h1= resource.cpd_cycle

  .activities-index
    = render('layout') do
      - if resource.cpd_cycle.all_steps_content.present?
        .mb-2= resource.cpd_cycle.all_steps_content

      - if resource.cpd_cycle.activities_content.present?
        .mb-2= resource.cpd_cycle.activities_content

      - if resource.cpd_statement_activities.present?
        = render('activities_edit', cpd_statement: resource)

      .mt-3= link_to 'Add Activity', '#', 'data-cpd-new-activity': true, class: 'btn btn-primary'

      = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
        = f.hidden_field :current_step
        = f.submit 'Save and Continue', center: true

  .activities-new{style: 'display: none;'}
    = render('activities_new', cpd_statement: resource)

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
effective_cpd-0.5.1 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.5.0 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.4.3 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.4.2 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.4.1 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.4.0 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.3.3 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.3.2 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.3.1 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.3.0 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.2.1 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.2.0 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.19 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.18 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.17 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.16 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.15 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.14 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.13 app/views/effective/cpd_statements/activities.html.haml
effective_cpd-0.1.12 app/views/effective/cpd_statements/activities.html.haml