red wrote:
> CODE:
> <b>Gehaltsabrechnung ansehen:</b><br>
> <%= form_tag :controller => 'invoices',
>          :action => 'show' %>
>     <label for="invoice_jahr">Jahr:</label>
>     <%= select(:invoice, :jahr, 2007..2107) %>
>     <label for="invoice_monat">Monat:</label>
>     <%= select(:invoice, :monat, 1..12) %>
>     <%= submit_tag "show" %>
> <% end_form_tag %>
> <br><br>
> <b>Gehaltsabrechnung erstellen:</b><br>
> <%= form_tag :controller => 'invoices',
>          :action => 'create' %>
>     <label for="invoice_jahr">Jahr:</label>
>     <%= select(:invoice, :jahr, 2007..2107) %>
>     <label for="invoice_monat">Monat:</label>
>     <%= select(:invoice, :monat, 1..12) %>
>     <%= submit_tag "Create" %>
> <% end_form_tag %>
>
>   

found the problem - new syntax for the form_tag - now with "do"

greetz red