mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
permalink editable
This commit is contained in:
@@ -19,6 +19,7 @@ class EnterpriseGroup < ActiveRecord::Base
|
||||
|
||||
attr_accessible :name, :description, :long_description, :on_front_page, :enterprise_ids
|
||||
attr_accessible :owner_id
|
||||
attr_accessible :permalink
|
||||
attr_accessible :logo, :promo_image
|
||||
attr_accessible :address_attributes
|
||||
attr_accessible :email, :website, :facebook, :instagram, :linkedin, :twitter
|
||||
|
||||
@@ -19,3 +19,8 @@
|
||||
= f.label :enterprise_ids, 'Enterprises'
|
||||
%br/
|
||||
= f.collection_select :enterprise_ids, @enterprises, :id, :name, {}, {class: "select2 fullwidth", multiple: true}
|
||||
|
||||
= f.field_container :permalink do
|
||||
= f.label :permalink, "Permalink (unique, no spaces)"
|
||||
%br/
|
||||
= f.text_field :permalink
|
||||
|
||||
Reference in New Issue
Block a user