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