mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
21 lines
725 B
Plaintext
21 lines
725 B
Plaintext
= render partial: 'spree/shared/error_messages', locals: { target: @enterprise }
|
|
|
|
- content_for :page_title do
|
|
= t('.title')
|
|
|
|
- content_for :page_actions do
|
|
%li= button_link_to t('.back_link'), main_app.admin_enterprises_path, icon: 'icon-arrow-left'
|
|
|
|
- content_for :main_ng_app_name do
|
|
= "admin.enterprises"
|
|
|
|
= admin_inject_available_countries(module: 'admin.enterprises')
|
|
= admin_inject_json "admin.enterprises", "defaultCountryID", DefaultCountry.id
|
|
|
|
-# Form
|
|
|
|
= form_for [main_app, :admin, @enterprise], html: { "nav-check" => '', "nav-callback" => '' } do |f|
|
|
.row
|
|
.twelve.columns.fullwidth_inputs{ "ng-controller": "NewEnterpriseController" }
|
|
= render 'new_form', f: f, scope: 'admin.enterprises.form'
|