Skip to content

Instantly share code, notes, and snippets.

@nicocedron
Created November 29, 2017 01:36
Show Gist options
  • Save nicocedron/dd23701c5895ba6d06998aec317b14fa to your computer and use it in GitHub Desktop.
Save nicocedron/dd23701c5895ba6d06998aec317b14fa to your computer and use it in GitHub Desktop.
DAVID
.col-sm-6
= f.label :mobile_hero, 'Mobile Hero Image'
= image_tag explore_content.mobile_hero.url, class: 'image_preview'
= f.file_field :mobile_hero
br
#ESTO VA ANTES DEL :hero_text, 'Hero text:', c EN EL MISMO FILE
.mini-hero
= image_tag explore_content.mobile_hero.url
a.top-bar
|Top selling craddle.<br>
|Buy now!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment