<select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-tag">
<% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %>
<% options.forEach(function(option) { %>
<select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-tag">
<% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %>
<% options.forEach(function(option) { %>
<% }); %>
</select>
<select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-class">
<% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'item', 'uri', 'p', 'footnote', 'todo', 'emp'] %>
<% options.forEach(function(option) { %>
<% }); %>
</select>
<select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-class">
<% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'item', 'uri', 'p', 'footnote', 'todo', 'emp'] %>
<% options.forEach(function(option) { %>
<div class="rng-module-documentToolbar-toolbarGroup">
<button data-name="remove-node" data-btn-type="cmd" data-meta="bullets" class="btn btn-mini"><i class="icon-ban-circle"></i></button>
<div class="rng-module-documentToolbar-toolbarGroup">
<button data-name="remove-node" data-btn-type="cmd" data-meta="bullets" class="btn btn-mini"><i class="icon-ban-circle"></i></button>
<button data-name="redo" data-btn-type="cmd" class="btn btn-mini"><i class="icon-share-alt"></i></button>
</div>
<div class="rng-module-documentToolbar-toolbarGroup">
<button data-name="redo" data-btn-type="cmd" class="btn btn-mini"><i class="icon-share-alt"></i></button>
</div>
<div class="rng-module-documentToolbar-toolbarGroup">
</div>
<div class="rng-module-documentToolbar-toolbarGroup">
<button data-name="grid" data-btn-type="toggle" class="btn btn-mini"><i class="icon-th-large"></i></button>
</div>
</div>
<div class="rng-module-documentToolbar-toolbarGroup">
<button data-name="grid" data-btn-type="toggle" class="btn btn-mini"><i class="icon-th-large"></i></button>
</div>
+ <% if(templates) { %>
+ <div class="rng-module-documentToolbar-toolbarGroup">
+ <select data-name="templates-select">
+ <% templates.forEach(function(template) { %>
+ <option value="<%= template.id %>"><%= template.name %></option>
+ <% }); %>
+ </select>
+ <button class="btn btn-mini" data-name="templatesBtn">+</button>
+ </div>
+ <% } %>
+