Sha256: 58200e4374845a6bb7b53d094f3490df10ab79035cefa4a7e10eb68fb15117b3

Contents?: true

Size: 621 Bytes

Versions: 11

Compression:

Stored size: 621 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.try!(: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.address
  td= label_tag check_box_id, contact.description_name

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc3 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/letters/letters/_cc_recipient_form.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/letters/letters/_cc_recipient_form.html.slim