add update_category as option
This commit is contained in:
parent
14540d4cf9
commit
7fb9153209
5 changed files with 54 additions and 4 deletions
|
|
@ -2,4 +2,9 @@
|
|||
- 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
|
||||
=f.collection_select :type, FoodsoftArticleImport::FORMATS , :to_s, :to_s
|
||||
/ insert_before 'erb:contains("articles_outlist_absent")'
|
||||
-if FoodsoftArticleImport.enabled?
|
||||
%label(for="articles_update_category")
|
||||
= f.check_box "update_category"
|
||||
= t 'Kategorien aus der Datei übernehmen und erstellen.'
|
||||
Loading…
Add table
Add a link
Reference in a new issue