Sha256: 0d8c779e9bda59f6e071a76393d45354ee7b230ce99d6244b3299c08fd41b566

Contents?: true

Size: 762 Bytes

Versions: 6

Compression:

Stored size: 762 Bytes

Contents

= form_with(model: @pool) do |form|
  - if @pool.errors.any?
    div style="color: red"
      h2 = "#{pluralize(@pool.errors.count, "error")} prohibited this pool from being saved:"
      ul
        - @pool.errors.each do |error|
          li = error.full_message

  div
    = form.label :block_id, style: "display: block"
    = form.text_field :block_id

  div
    = form.label :users_count, style: "display: block"
    = form.number_field :users_count

  div
    = form.label :signatures_count, style: "display: block"
    = form.number_field :signatures_count

  div
    = form.label :amount, style: "display: block"
    = form.text_field :amount

  div
    = form.label :stage, style: "display: block"
    = form.number_field :stage

  div
    = form.submit

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
osbc-0.2.0 app/views/pools/_form.html.slim
osbc-0.1.9 app/views/pools/_form.html.slim
osbc-0.1.8 app/views/pools/_form.html.slim
osbc-0.1.7 app/views/pools/_form.html.slim
osbc-0.1.6 app/views/pools/_form.html.slim
osbc-0.1.5 app/views/pools/_form.html.slim