Fixed encoding issues with ruby > 1.9.2..

This commit is contained in:
benni 2012-04-16 08:48:01 +02:00
parent ad508b207b
commit 4a8e286d98
18 changed files with 29 additions and 40 deletions

View file

@ -6,7 +6,7 @@
%table{:class => "ordered_articles", :style => "clear:both"}
%thead
%tr
%th[sort_td_class_helper "name"]{:colspan => "1"}
%th[sort_td_class_helper("name")]{:colspan => "1"}
= sort_link_helper "Artikel", "name", :action => "new", :remote => false
%th[sort_td_class_helper "order_number"]
= sort_link_helper "Nr.", "order_number", :action => "new", :remote => false

View file

@ -10,12 +10,12 @@
%table
%thead
%tr
<td #{sort_td_class_helper "date"}>
<td #{sort_td_class_helper("date")}>
\#{sort_link_helper "Datum", "date"}
%td Wer
<td #{sort_td_class_helper "note"}>
<td #{sort_td_class_helper("note")}>
\#{sort_link_helper "Notiz", "note"}
<td #{sort_td_class_helper "amount"}>
<td #{sort_td_class_helper("amount")}>
\#{sort_link_helper "Betrag", "amount"}
%tbody
- @financial_transactions.each do |t|