%h1 Listing auto_payments %table %thead %tr %th Name %th Lastname %th Tel num %th E mail %th Order loc %th Payment fee %th Iva %th Card country %th Cod response %th Invoice n %th Description %th Title %th Price %th Url %th Date from ap %th Date to ap %th Date paid ap %th Pay type %th Time ap %th N adults %th N children %th Children age %th Ref %th %th %th %tbody - @auto_payments.each do |auto_payment| %tr %td= auto_payment.name %td= auto_payment.lastname %td= auto_payment.tel_num %td= auto_payment.e_mail %td= auto_payment.order_loc %td= auto_payment.payment_fee %td= auto_payment.iva %td= auto_payment.card_country %td= auto_payment.cod_response %td= auto_payment.invoice_n %td= auto_payment.description %td= auto_payment.title %td= auto_payment.price %td= auto_payment.url %td= auto_payment.date_from_ap %td= auto_payment.date_to_ap %td= auto_payment.date_paid_ap %td= auto_payment.pay_type %td= auto_payment.time_ap %td= auto_payment.n_adults %td= auto_payment.n_children %td= auto_payment.children_age %td= auto_payment.ref %td= link_to 'Show', auto_payment %td= link_to 'Edit', edit_auto_payment_path(auto_payment) %td= link_to 'Destroy', auto_payment, method: :delete, data: { confirm: 'Are you sure?' } %br = link_to 'New Auto payment', new_auto_payment_path