Sha256: 8559f1e55e763654322d3686c9f35042e3f2b75330c34af85648f56c05bfeba1

Contents?: true

Size: 957 Bytes

Versions: 24

Compression:

Stored size: 957 Bytes

Contents

= form_for [:forge, @tax_rate] do |f|
  %h3 Title
  .explanation Name your tax rate.
  = f.text_field :title
  %hr

  %h3 Rate
  .explanation The tax rate as a floating point (decimal) number. E.g. 5.00% should be entered as 5.00.
  = f.text_field :rate, :size => 6
  %hr

  %h3 Country
  .explanation
    The country this tax rate belongs to. Note that Country and Province/State refer to the taxes charged when selling
    to people who live in those locations, based on their billing address.
  = f.select :country_id, Country.options_for_select.collect { |c| [truncate(c[0]), c[1]] }
  %hr

  %h3 Province/State
  .explanation The province/state (within your selected country) that this tax rate belongs to. Choose 'All' for rates that apply country-wide.
  = f.select :province_id, Province.options_for_select(:add_blank => true).collect { |p| [truncate(p[0]), p[1]] }

  .spacer
  %br/
  = button_link "Save", "javascript:;", :class => "submit button"

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.0.9 lib/forge/app/views/forge/tax_rates/_form.html.haml
forge-cli-0.0.8 lib/forge/app/views/forge/tax_rates/_form.html.haml
forge-cli-0.0.7 lib/forge/app/views/forge/tax_rates/_form.html.haml
forge-cli-0.0.6 lib/forge/app/views/forge/tax_rates/_form.html.haml