<div class="modal-header">
    <h5 class="modal-title" id="exampleModalLabel">#<%= directorate.id %> -
        <%= directorate.Name %>
    </h5>
    <button type="button" class="close" data-dismiss="modal"
            aria-label="Close">
        <span aria-hidden="true">&times;</span>
    </button>
</div>
<form method="post" class="editDirectorate">
    <div class="modal-body">
        <input type="hidden" name="id" value="<%= directorate.id %>">
        <div class="form-group">
            <label for="name">Name</label>
            <input type="text" id="name" class="form-control" name="name" value="<%= directorate.Name %>">
        </div>
        <div class="form-group">
            <label for="dname">Display Name</label>
            <input type="text" id="dname" class="form-control" name="dname" value="<%= directorate.DisplayName %>">
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-secondary"
                data-dismiss="modal">Cancel
        </button>
        <input type="submit" value="Save"
               class="btn btn-outline-success">
    </div>
</form>