Add percent sign for tax in forms
This commit is contained in:
parent
53518039f1
commit
0f4614eb31
6 changed files with 26 additions and 11 deletions
|
|
@ -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(", ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue