Created
April 27, 2012 06:33
-
-
Save jamescway/2506611 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%a.btn-sec.offer-button{:href => "#", :class => [offers_enabled_class, (is_linked && "linked" || "unlinked")], 'attr-deal_id' => deal.id, 'attr-logged_in' => "#{logged_in?}", 'attr-title' => deal.title, 'attr-merchant' => deal.merchant.name, 'attr-expires' => deal.end_at.strftime('%b %-d, %Y'), 'attr-image_url' => ugasset_url(deal.image)} | |
= (is_linked ? 'Unlink from Card' : 'Link to Card') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment