Sha256: 459edde4f67dae2f8904c3035569b3b9f4c94579b3a90ebefbdfd602032c15b2

Contents?: true

Size: 434 Bytes

Versions: 27

Compression:

Stored size: 434 Bytes

Contents

.row
  .col
    %h3= poll_question
    %p.text-muted.mb-2= poll_question.category

    - if poll_question.body.present?
      .mb-3= poll_question.body

    = f.hidden_field :poll_id
    = f.hidden_field :poll_question_id

    - ballot_response = f.object
    - partial = 'effective/ballot_responses/fields/' + poll_question.category_partial
    = render(partial, f: f, ballot_response: ballot_response, poll_question: poll_question)

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
effective_polls-0.1.4 app/views/effective/ballot_responses/_fields.html.haml
effective_polls-0.1.3 app/views/effective/ballot_responses/_fields.html.haml
effective_polls-0.1.2 app/views/effective/ballot_responses/_fields.html.haml
effective_polls-0.1.1 app/views/effective/ballot_responses/_fields.html.haml
effective_polls-0.1.0 app/views/effective/ballot_responses/_fields.html.haml
effective_polls-0.0.2 app/views/effective/ballot_responses/_fields.html.haml
effective_polls-0.0.1 app/views/effective/ballot_responses/_fields.html.haml