Sha256: b630d13242efad51a053e11580de1819de3d2e845f30e18d2f8d9cf446a140d9

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

= form_for @report do |f|
  - if @report.errors.any?
    #error_explanation
      h2 = "#{pluralize(@report.errors.count, "error")} prohibited this report from being saved:"
      ul
        - @report.errors.full_messages.each do |message|
          li = message

  .field
    select.selectpicker
  .field
    = f.label :title
    = f.text_field :title
  .field
    = f.label :description
    = f.text_area :description
  .actions = f.submit 'Save'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
easy_reports-0.0.25 app/views/easy_reports/reports/_form.html.slim
easy_reports-0.0.24 app/views/easy_reports/reports/_form.html.slim