Skip to content

Commit

Permalink
#1116: [add-on] Set the add-on options
Browse files Browse the repository at this point in the history
  • Loading branch information
nghuuphuoc committed Nov 13, 2014
1 parent 3d3c576 commit 4415df9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions demo/addons/oneMessage.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
<h2>oneMessage add-on</h2>
</div>

<form id="defaultForm" method="post" class="form-horizontal" action="/demo/target.php"
data-bv-addons="oneMessage">
<form id="defaultForm" method="post" class="form-horizontal" action="/demo/target.php">
<div class="form-group">
<label class="col-sm-3 control-label">Username</label>
<div class="col-sm-6">
Expand All @@ -42,6 +41,9 @@ <h2>oneMessage add-on</h2>
$(document).ready(function() {
$('#defaultForm')
.bootstrapValidator({
addOns: {
oneMessage: {}
},
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
Expand Down

0 comments on commit 4415df9

Please sign in to comment.