Sha256: 07ad08d272fb1675bd0c9c2a87d9b5c806c1477ebf36fb1eae5b42e5ce3b2cc2

Contents?: true

Size: 669 Bytes

Versions: 17

Compression:

Stored size: 669 Bytes

Contents

- severities = Renalware::System::Message.severity.values.map{|val| [val&.humanize, val] }
= simple_form_for(message,
                  as: :message,
                  html: { autocomplete: "off" }) do |f|

  = render "renalware/shared/errors", model: f.object

  = f.input :title, placeholder: "An optional title"
  = f.label :body
  = f.input :body, as: :trix_editor, wrapper: :zilch
  br
  = f.input :severity,
            collection: severities,
            input_html: { style: "width:100px" },
            include_blank: nil
  = f.input :display_from, as: :datetime_picker
  = f.input :display_until, as: :datetime_picker
  br
  = f.submit "Save", class: :button

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
renalware-core-2.0.161 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.160 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.159 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.158 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.157 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.156 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.155 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.153 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.152 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.151 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.149 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.148 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.147 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.146 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.145 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.144 app/views/renalware/system/messages/_form.html.slim
renalware-core-2.0.143 app/views/renalware/system/messages/_form.html.slim