Exclude tasks from groups when changing attributes.

This commit is contained in:
Robert Waltemath 2013-06-21 20:54:24 +02:00
parent 6b62fc90d8
commit c52e482743
2 changed files with 8 additions and 1 deletions

View file

@ -26,6 +26,6 @@
= f.input :done
.form-actions
= f.submit class: 'btn btn-primary'
- unless @task.id
- if @task.new_record?
= f.submit 'Wöchentliche Aufgabe erstellen', name: 'periodic', class: 'btn'
= link_to t('ui.or_cancel'), :back