factor out onclick javascript
This commit is contained in:
parent
94fcd0cf59
commit
09449792fa
6 changed files with 16 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );">
|
||||
<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{CloseAlert i}') })( jQuery );">
|
||||
$if closable
|
||||
<a .close data-dismiss="alert">×</a>
|
||||
<a .close>×</a>
|
||||
$maybe h <- heading
|
||||
$if block
|
||||
<h4 .alert-heading>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue