Sha256: 5420d3742d96ea81f47cd94ed5b925d0904e0480936a5da374671ea50d62c2bb

Contents?: true

Size: 651 Bytes

Versions: 151

Compression:

Stored size: 651 Bytes

Contents

- check_box_id = "cc-contact-#{contact.id}"
- recipient = letter.cc_recipient_for_contact(contact)
tr
  = content_tag(:td, style: "width: 20px") do
    = hidden_field_tag "letter[cc_recipients_attributes][][id]", recipient&.id
    = hidden_field_tag "letter[cc_recipients_attributes][][person_role]", "contact"
    = hidden_field_tag "letter[cc_recipients_attributes][][addressee_id]", contact.id

    = check_box_tag("letter[cc_recipients_attributes][][_keep]", "1",
        recipient.present?, id: check_box_id)
  td= label_tag check_box_id, [contact.to_s, contact.address].compact.join(" - ")
  td= label_tag check_box_id, contact.description_name

Version data entries

151 entries across 151 versions & 1 rubygems

Version Path
renalware-core-2.0.104 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.103 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.102 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.101 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.100 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.99 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.98 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.97 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.96 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.95 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.94 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.93 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.92 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.91 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.90 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.89 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.88 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.87 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.86 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.85 app/views/renalware/letters/letters/_cc_recipient_form.html.slim