Commit 24030532 authored by Edgar Schnueriger's avatar Edgar Schnueriger
Browse files

fixed not working example code for modals

parent 716c869b
Showing with 17 additions and 17 deletions
+17 -17
...@@ -5119,27 +5119,27 @@ $('#myModal').on('show', function (e) { ...@@ -5119,27 +5119,27 @@ $('#myModal').on('show', function (e) {
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a> <a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
</div><!-- /example --> </div><!-- /example -->
{% highlight html %} {% highlight html %}
<div class="modal">
<!-- Button trigger modal --> <!-- Button trigger modal -->
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a> <a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
<!-- Modal --> <!-- Modal -->
<div class="modal-dialog"> <div class="modal" id="myModal">
<div class="modal-content"> <div class="modal-dialog">
<div class="modal-header"> <div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <div class="modal-header">
<h4 class="modal-title">Modal title</h4> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
</div> <h4 class="modal-title">Modal title</h4>
<div class="modal-body"> </div>
... <div class="modal-body">
</div> ...
<div class="modal-footer"> </div>
<a href="#" class="btn">Close</a> <div class="modal-footer">
<a href="#" class="btn btn-primary">Save changes</a> <a href="#" class="btn">Close</a>
</div> <a href="#" class="btn btn-primary">Save changes</a>
</div><!-- /.modal-content --> </div>
</div><!-- /.modal-dalog --> </div><!-- /.modal-content -->
</div><!-- /.modal --> </div><!-- /.modal-dalog -->
</div><!-- /.modal -->
{% endhighlight %} {% endhighlight %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment