Sha256: 0f262c3a306dfa9567efb4c51d0c3434bcb09f71cfecc8ef510fae925ce992f3
Contents?: true
Size: 1.08 KB
Versions: 36
Compression:
Stored size: 1.08 KB
Contents
.billing_machine h1 = t("actions.email") .well = horizontal_form_for :email do |f| = f.input(:subject, :as => :string, :label => t("attributes.subject"), :input_html => {value: @subject}, ) = f.input(:to, :disabled => true, :label => t("attributes.to"), :input_html => {value: "#{@invoice.customer} <#{@invoice.customer.email}>"}, ) = f.input(:attachment, :disabled => true, :label => t("attributes.attachment"), :input_html => {value: "#{@invoice.class.t}_#{@invoice.tracking_id}.pdf"}, ) = f.input(:body, :as => :text, :label => t("attributes.body"), :input_html => {value: @body}, ) .actions button.btn.btn-success type="submit" = icon(:send) = " " = t("actions.send") a.btn.btn-default href=dorsale.billing_machine_invoice_path(@invoice) = icon(:times) = " " = t("actions.cancel") hr = render "dorsale/billing_machine/invoices/details", document: @invoice
Version data entries
36 entries across 36 versions & 1 rubygems