Add percent sign for tax in forms

This commit is contained in:
Julius 2013-06-06 17:58:02 +02:00
parent 53518039f1
commit 0f4614eb31
6 changed files with 26 additions and 11 deletions

View file

@ -27,8 +27,10 @@
%td= form.text_field 'note', class: 'input-medium'
%td= form.collection_select 'article_category_id', ArticleCategory.all,
:id, :name, { :include_blank => true }, class: 'input-small'
%td= form.text_field 'tax', class: 'input-mini'
%td.input-append
= form.text_field 'tax', class: 'input-mini'
%span.add-on %
%td= form.text_field 'deposit', class: 'input-mini'
- unless article.errors.empty?
%tr.alert
%td(colspan="10")= article.errors.full_messages.join(", ")
%td(colspan="10")= article.errors.full_messages.join(", ")