Exclude tasks from groups when changing attributes.
This commit is contained in:
parent
6b62fc90d8
commit
c52e482743
2 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue