<!--Sub Account Manager Window-->
<div class="modal medium fade dark" id="subAccountManager" tabindex="-1" role="dialog" aria-labelledby="subAccountManagerLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
        <h4 class="modal-title" id="subAccountManagerLabel"><i class="fa fa-group"></i> &nbsp; <%-lang.subAccountManager%></h4>
      </div>
      <div class="modal-body">
          <div class="row">
              <%
                var drawBlock
                var buildOptions
              %>
              <%
                include fieldBuilders.ejs
              %>
              <% Object.keys(define['Sub-Account Manager'].blocks).forEach(function(blockKey){
                    var accountSettings = define['Sub-Account Manager'].blocks[blockKey]
                    drawBlock(accountSettings)
                }) %>
          </div>
      </div>
      <div class="modal-footer">
          <button type="button" class="btn btn-default pull-left" data-dismiss="modal"><i class="fa fa-times"></i> <%-lang.Close%></button>
      </div>
    </div>
  </div>
</div>
<script src="<%-window.libURL%>libs/js/dash2.subAccountManager.js"></script>
