Sha256: 7efc13ed91ef6695e0b494a8646c50e221c14c894cb79edbaa6268dab2111544

Contents?: true

Size: 479 Bytes

Versions: 10

Compression:

Stored size: 479 Bytes

Contents

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

  .grid-x.grid-margin-x
    .cell.medium-6
      .field
        = f.label :score
        = f.select :score, (1..5).to_a

        = f.hidden_field :report_id
  .actions = f.submit

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
authz-0.0.5 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.4 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.3 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.2 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.1 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.1.alpha5 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.1.alpha4 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.1.alpha3 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.1.alpha2 spec/dummy/app/views/ratings/new.html.slim
authz-0.0.1.alpha spec/dummy/app/views/ratings/new.html.slim