Created
January 13, 2014 15:06
-
-
Save iurevych/8401883 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
- = link_to view_setup.description, site_campaign_view_setup_path(@site, @campaign, view_setup.view_name) | |
+ = link_to site_campaign_view_setup_path(@site, @campaign, view_setup.view_name) do | |
+ = view_setup.description | |
+ - if view_setup.disabled? | |
+ %span.editor-menu-state.is-off{title: "View is disabled"} Off | |
+ - else | |
+ %span.editor-menu-state.is-on{title: "View is enabled"} On |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment