foodsoft/plugins/documents/app/views/documents/new.html.haml
2016-05-06 16:45:16 +02:00

8 lines
200 B
Text

- title t('.title')
= simple_form_for(@document) do |f|
= f.input :name, as: :string
= f.input :data, as: :file
.form-actions
= f.submit class: 'btn'
= link_to t('ui.or_cancel'), :back