mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove distributor_info: 'how does it work' from enterprises edit page
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
/ insert_after "[data-hook='long_description']"
|
||||
%tr{'data-hook' => 'distributor_info'}
|
||||
%th Distributor Info:
|
||||
%td= @enterprise.distributor_info.andand.html_safe
|
||||
@@ -182,11 +182,6 @@
|
||||
= f.label :long_description, 'About Us'
|
||||
.omega.eight.columns
|
||||
= f.text_area :long_description, rows: 6, placeholder: 'Tell us about yourself. This information appears on your public profile (under "About Us")', class: 'fullwidth'
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :distributor_info, 'How does your hub work?'
|
||||
.omega.eight.columns
|
||||
= f.text_area :distributor_info, rows: 6, placeholder: 'Hub only: Explain your distribution offer/s - this is more detailed information that the user can access by clicking on "How does it work?"', class: 'fullwidth'
|
||||
%fieldset.eleven.columns.alpha.no-border-bottom
|
||||
%legend IMAGES
|
||||
.row
|
||||
|
||||
@@ -106,7 +106,6 @@ feature %q{
|
||||
select('Victoria', :from => 'enterprise_address_attributes_state_id')
|
||||
fill_in 'enterprise_description', :with => 'Connecting farmers and eaters'
|
||||
fill_in 'enterprise_long_description', :with => 'Zombie ipsum reversus ab viral inferno, nam rick grimes malum cerebro.'
|
||||
fill_in 'enterprise_distributor_info', :with => 'Zombie ipsum reversus ab viral inferno, nam rick grimes malum cerebro.'
|
||||
|
||||
click_button 'Create'
|
||||
flash_message.should == 'Enterprise "Eaterprises" has been successfully created!'
|
||||
|
||||
Reference in New Issue
Block a user