Sha256: c86ed67a47fb5a92f4ec2806edd12a039591680e4fc726484796246879e8a1e5

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

= effective_form_with(model: poll, engine: true) do |f|
  = f.text_field :title, hint: 'The title of your poll.'
  = f.text_area :body

  = f.datetime_field :start_at
  = f.datetime_field :end_at

  = f.check_box :draft, hint: 'Save this poll as a draft. It will not be accessible on the website.'

  = effective_submit(f)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_polls-0.0.2 app/views/effective/polls/_form.html.haml
effective_polls-0.0.1 app/views/effective/polls/_form.html.haml