Sha256: 288fed22533324517fcf75dfd05c679ed3bf70eec1343b1afde2309123812ba8

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

ruby:
  back_path = patient_accesses_dashboard_path(@patient)

.row.top
  .medium-6.columns
    = f.button :submit
    span= " or "
    = link_to "cancel", back_path

.form-content
  = render layout: "renalware/shared/fieldset",
      locals: { legend: "Access Profile", name: "profile" } do

    = f.association :type,
                    collection: Renalware::Accesses::Type.relevant_to_access_profiles,
                    wrapper: :horizontal_small,
                    label_method: :to_s,
                    autofocus: true
    = f.input :side, wrapper: :horizontal_small
    = f.input :formed_on, as: :date_picker, wrapper: :horizontal_datepicker
    = f.input :started_on, as: :date_picker, wrapper: :horizontal_datepicker
    = f.input :terminated_on, as: :date_picker, wrapper: :horizontal_datepicker


  = render layout: "renalware/shared/fieldset",
      locals: { legend: "Admin", name: "notes" } do
    = f.input :notes,
              as: :text,
              input_html: { rows: 5 },
              wrapper: :horizontal_large

.row
  .large-12.columns
    = f.button :submit
    span= " or "
    = link_to "cancel", back_path

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 app/views/renalware/accesses/profiles/_form.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/accesses/profiles/_form.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/accesses/profiles/_form.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/accesses/profiles/_form.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/accesses/profiles/_form.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/accesses/profiles/_form.html.slim