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.1.1 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.1.0 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.167 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.166 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.165 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.164 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.163 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.162 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.161 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.160 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.159 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.158 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.157 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.156 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.155 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.153 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.152 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.151 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.149 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.148 app/views/renalware/letters/letters/_cc_recipient_form.html.slim