sgmap/boussole

View on GitHub
app/views/workings/steps/awareness.html.haml

Summary

Maintainability
Test Coverage
-# coding: utf-8

.l-container-narrow
  .l-content
    %article.wizard-form
      %h1.wizard-form-header Quelle phrase décrit le mieux ton besoin ?
      %hr

      = simple_form_for(@working, url: wizard_path, method: :put, wrapper: :vertical_form) do |f|
        = f.error_notification

        = f.input_field :awareness,
                        collection: AWARENESSES,
                        label_method: :to_s,
                        value_method: :to_s,
                        as: :radio_buttons

        = render(partial: 'blocks/button_groups/wizard_first_step')