.modal-header .modal-new-top .modal-close = link_to '', '#', class: 'close-dialog', data: {dismiss: :modal} h4 Success! .modal-new-create .popup #invoice-confirmation-modal .clearfix h5.ml25.mt10 Your invoice has been created. p.pt15 | You requested a payment of strong | $ = invoice.payable_amount/100 | from  strong = invoice.user.present? ? invoice.user.name : invoice.user_email p.pt15 | You noted strong | " = invoice.description | " .clearfix .text-center.mb20.mt20 - if @invoice.user_id = link_to 'Edit Invoice', edit_tutor_invoice_path(@invoice), class: 'btn-default pt5 pr10 pl10 pb5 mr10', data: {refresh: 'modal', target: '#remote-modal'} = link_to 'Close', invoices_path, class: 'btn-default pt5 pr10 pl10 pb5'