SHOW:
|
|
- or go back to the newest paste.
1 | <a href="<?php echo $this->url('agency', array('action'=>'showform', 'controller'=>'agency')); ?>" role="button" class="btn btn-primary" data-toggle="modal" data-target="#formpopup" >Add Agency</a> | |
2 | ||
3 | <!-- empty modal div to hold content that is loaded via AJAX --> | |
4 | <div id="formpopup" class="modal fade" role="dialog" tabindex="-1" aia-labelledby="myModalLabel" aria-hidden="true"> | |
5 | <div class="modal-dialog"> | |
6 | <div class="modal-content"> | |
7 | <div class="modal-header"> | |
8 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
9 | <h4 class="modal-title">Modal title</h4> | |
10 | </div> | |
11 | <div class="modal-body"> | |
12 | ... | |
13 | </div> | |
14 | <div class="modal-footer"> | |
15 | <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> | |
16 | <button type="button" class="btn btn-primary">Save changes</button> | |
17 | </div> | |
18 | </div><!-- /.modal-content --> | |
19 | </div><!-- /.modal-dialog --> | |
20 | </div> |