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.8.1 app/helpers/assessment_helper.rb
woople-theme-0.8.0 app/helpers/assessment_helper.rb
woople-theme-0.6.27 app/helpers/assessment_helper.rb
woople-theme-0.6.26 app/helpers/assessment_helper.rb
woople-theme-0.6.25 app/helpers/assessment_helper.rb
woople-theme-0.6.24 app/helpers/assessment_helper.rb
woople-theme-0.6.23 app/helpers/assessment_helper.rb
woople-theme-0.6.22 app/helpers/assessment_helper.rb
woople-theme-0.6.21 app/helpers/assessment_helper.rb
woople-theme-0.6.20 app/helpers/assessment_helper.rb
woople-theme-0.6.19 app/helpers/assessment_helper.rb
woople-theme-0.6.18 app/helpers/assessment_helper.rb
woople-theme-0.6.17 app/helpers/assessment_helper.rb
woople-theme-0.6.14 app/helpers/assessment_helper.rb
woople-theme-0.6.13 app/helpers/assessment_helper.rb
woople-theme-0.6.12 app/helpers/assessment_helper.rb
woople-theme-0.6.11 app/helpers/assessment_helper.rb
woople-theme-0.6.10 app/helpers/assessment_helper.rb
woople-theme-0.6.9 app/helpers/assessment_helper.rb
woople-theme-0.6.8 app/helpers/assessment_helper.rb