add basic functionality of plugin

This commit is contained in:
viehlieb 2023-03-28 17:05:34 +02:00 committed by Philipp Rothmann
parent 6dbf768bfb
commit 14540d4cf9
13 changed files with 1954 additions and 0 deletions

View file

@ -0,0 +1,5 @@
/ insert_after 'erb:contains("file_field")'
- if FoodsoftArticleImport.enabled?
%label(for="articles_file")
%strong="select the file type you are about to upload"
=f.collection_select :type, FoodsoftArticleImport::FORMATS , :to_s, :to_s