Remove distributor_info: 'how does it work' from enterprises edit page

This commit is contained in:
Rob H
2014-08-29 23:10:23 +10:00
parent 8e91e4513d
commit 73a32fdaf1
3 changed files with 0 additions and 10 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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!'