Sha256: 4c1d9a528829400bbc12403bfceda1bc3cf1a8a660df98dfccb0841fb49d06ab
Contents?: true
Size: 1.41 KB
Versions: 175
Compression:
Stored size: 1.41 KB
Contents
ruby: back_path = patient_hd_dashboard_path(patient) = f.input :type, as: :hidden .form-content = render layout: "renalware/shared/fieldset", locals: { legend: "DNA details", name: "dna" } do = f.input :performed_on, as: :date_picker, wrapper: :horizontal_datepicker = f.association :hospital_unit, as: :grouped_select, group_method: :hd_sites, collection: Renalware::Hospitals::Centre.with_hd_sites.ordered, label_method: :to_s, wrapper: :horizontal_medium = f.simple_fields_for :document, f.object.document do |fd| = fd.input :patient_on_holiday, as: :inline_radio_buttons, wrapper: :horizontal_small = f.input :notes, as: :text, input_html: { rows: 5 }, wrapper: :horizontal_large = f.association :signed_on_by, as: :user_picker, collection: Renalware::User.ordered, wrapper: :horizontal_medium .row.top .large-12.columns.form_actions = f.button :submit, value: t(".save") - if policy(session).destroy? | = link_to("Delete", patient_hd_session_path(patient, session), data: { confirm: t(".delete_confirmation") }, method: :delete, class: "button alert") | = link_to "cancel", back_path
Version data entries
175 entries across 175 versions & 1 rubygems