foodsoft/app/views/tasks/new.haml

10 lines
295 B
Text

- title t('.title')
= render 'form_sidebar'
= simple_form_for @task do |form|
= render 'form', form: form, periodic: nil
.form-actions
= form.submit class: 'btn btn-primary'
= form.submit t('.submit_periodic'), name: 'periodic', class: 'btn'
= link_to t('ui.or_cancel'), :back