addModal.html.ep 1.17 KB
Newer Older
Luc Didry's avatar
Luc Didry committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!-- Modal form -->
<div class="modal fade" tabindex="-1" role="dialog" id="addModal" aria-labelledby="modalTitle">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="<%= l('Close') %>"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
                <form>
                    <div class="form-group" id="modalForm">
                        <label for="name" id="modalLabel"></label>
                        <input type="text" class="form-control" id="modalInput" name="name" required="required">
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal"><%= l('Cancel') %></button>
                <button id="confirm" type="button" class="btn btn-primary"><%= l('Confirm') %></button>
            </div>
        </div><!-- ./modal-content -->
    </div><!-- ./modal-dialog -->
</div><!-- ./modal -->
<!-- ./Modal form -->