Last active
August 29, 2015 13:57
-
-
Save mbseid/9643746 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
@(title:Option[String], contentString:Option[String], placement:String = "left", style:String = "default")(content:Html = Html.empty) | |
<span class="help @style" rel="popover" data-popover data-trigger="hover" data-placement="@placement" data-original-title="@title" data-content="@contentString.getOrElse(content)">?</span> |
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
@help("Learn More"){ | |
<h1>Learn More</h1> | |
<p> Scala is the leet sauce <p> | |
} | |
@help("I'm a shorty", "SHORTAYAYY.....")() @* you need the second () * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment