Sha256: e35f9573ef6edfa43be65919dde37d9a440aef0bba555a10b01963ab3c7d4c7f

Contents?: true

Size: 314 Bytes

Versions: 74

Compression:

Stored size: 314 Bytes

Contents

module AssessmentHelper
  def assessment_form(presenter, options = { submitted?: false })
    form_presenter = options[:submitted?] ? SubmittedAssessmentFormPresenter : AssessmentFormPresenter

    render partial: 'woople-theme/assessment_form', object: ThemePresentation.wrap(presenter, form_presenter)
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
woople-theme-0.10.0 app/helpers/assessment_helper.rb
woople-theme-0.9.0 app/helpers/assessment_helper.rb
woople-theme-0.8.19 app/helpers/assessment_helper.rb
woople-theme-0.8.18 app/helpers/assessment_helper.rb
woople-theme-0.8.17 app/helpers/assessment_helper.rb
woople-theme-0.8.16 app/helpers/assessment_helper.rb
woople-theme-0.8.15 app/helpers/assessment_helper.rb
woople-theme-0.8.14 app/helpers/assessment_helper.rb
woople-theme-0.8.13 app/helpers/assessment_helper.rb
woople-theme-0.8.12 app/helpers/assessment_helper.rb
woople-theme-0.8.11 app/helpers/assessment_helper.rb
woople-theme-0.8.10 app/helpers/assessment_helper.rb
woople-theme-0.8.9 app/helpers/assessment_helper.rb
woople-theme-0.8.8 app/helpers/assessment_helper.rb
woople-theme-0.8.7 app/helpers/assessment_helper.rb
woople-theme-0.8.6 app/helpers/assessment_helper.rb
woople-theme-0.8.5 app/helpers/assessment_helper.rb
woople-theme-0.8.4 app/helpers/assessment_helper.rb
woople-theme-0.8.3 app/helpers/assessment_helper.rb
woople-theme-0.8.2 app/helpers/assessment_helper.rb