generator: class: stAdminGenerator param: model_class: false theme: simple documentation: pl: https://www.sote.pl/docs/blokowanie-sklepu en: https://www.soteshop.com/docs/lock_the_shop head: package: stLockPlugin config: display: [shop_locked, title, description, image] fields: shop_locked: {name: "Wyłącz sklep", type: checkbox_tag} title: {name: "Tytuł", is_i18n: true, width: 320} description: {name: "Opis", type: textarea_tag, width: 320, is_i18n: true} image: {name: "Zdjęcie", type: st_admin_input_file_tag, width: 320, params: "upload_dir=lock image=true allow_remove=true filename=page-lock with_upload_dir=true", is_i18n: true} actions: preview: {name: Podgląd, params: force_submit=true} _save: -