Fixed wrong path in task form.
This commit is contained in:
parent
74407a5912
commit
0e4b6107ba
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
- title "Aufgabe bearbeiten"
|
- title "Aufgabe bearbeiten"
|
||||||
|
|
||||||
#form{:style => "float:left; width:39em"}
|
#form{:style => "float:left; width:39em"}
|
||||||
- form_for :task, @task, :url => {:action => 'update', :id => @task} do |form|
|
- form_for @task do |form|
|
||||||
= render :partial => 'form', :locals => {:form => form}
|
= render :partial => 'form', :locals => {:form => form}
|
||||||
= submit_tag "Speichern"
|
= submit_tag "Speichern"
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- title "Neue Aufgabe erstellen"
|
- title "Neue Aufgabe erstellen"
|
||||||
|
|
||||||
#form{:style => "float:left; width:39em"}
|
#form{:style => "float:left; width:39em"}
|
||||||
- form_for :task, @task, :url => {:action => 'create'} do |form|
|
- form_for @task do |form|
|
||||||
= render :partial => 'form', :locals => {:form => form}
|
= render :partial => 'form', :locals => {:form => form}
|
||||||
= submit_tag "Aufgabe erstellen"
|
= submit_tag "Aufgabe erstellen"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue