Sha256: c4b48644ec398d4ab0eedc752332b71d87279b4a53b046488fd242965faca4f2
Contents?: true
Size: 876 Bytes
Versions: 5
Compression:
Stored size: 876 Bytes
Contents
.record-attribute.nested-association = f.fields_for f.object.options do |ff| = f.hidden_field :role .field.controls .field.radio = ff.hidden_field :primary, :value => false = ff.label :primary_true, ff.object.class.human_attribute_name(:primary) = ff.radio_button :primary, true - if f.object.has_bounced? .field.radio.bad-email-flag = User.human_attribute_name(:has_bounced_flag) = link_to_destroy_record_attribute - if f.object.persisted? = f.hidden_field :id = f.hidden_field :_destroy, :value => 0 .field.contact-email <input type="hidden" value="#{f.object.email}"/> = f.object.email - else .field.contact-email = f.text_field :email - if (types = User.email_types).present? .field = ff.select :type, types
Version data entries
5 entries across 5 versions & 1 rubygems