Now creating periodic task via button

This commit is contained in:
Robert Waltemath 2013-06-21 13:48:48 +02:00
parent 4037ef12da
commit 6b62fc90d8
6 changed files with 10 additions and 12 deletions

View file

@ -29,6 +29,6 @@
= link_to t('ui.edit'), edit_task_path(@task), class: 'btn'
= link_to t('ui.delete'), task_path(@task), :method => :delete, :confirm => "Die Aufgabe wirklich löschen?",
class: 'btn btn-danger'
- if @task.periodic
- if @task.periodic?
= link_to t('ui.delete_all'), periodic_task_group_path(@task.periodic_task_group), :method => :delete,
:confirm => "Alle Aufgaben dieser wöchentlichen Aufgabe wirklich löschen?", class: 'btn btn-danger'