User:Logicwiki/AssessmentBar/Toolbar.template.html

"> <%= project.name %>:  <% _.each(project.importanceOptions, function(imp) { %>           " <% if(imp == data.importance) { %>selected <% } %>><%= imp %>             <% }) %>  <% _.each(project.classOptions, function(cls) { %>           " <% if(cls == data.class) { %>selected <% } %>><%= cls %>             <% }) %>

<% _.each(subProjects, function(importance, subProject) { %>           ">                ×                    <%= subProject %>:                                     <% _.each(project.importanceOptions, function(imp) { %> " <% if(imp == importance) { %>selected <% } %>><%= imp %> <% }) %>       <% }) %>

New Subproject

<% _.each(actionItems, function(value, action) { %>       '>            ' <% if(value) { %>checked <% } %> />            ' class='assbar-item-check-label'>                <%= action %>    <% }) %>

Save</a> <a href="http://yuvi.in/AssessmentBar/r/Unassessed_India_articles/" class="assbar-item" id='assbar-next'>Next Article &raquo;</a>

<% _.each(subProjects, function(importance, subProject) { %>       <div class='assbar-item' data-project="<%= subProject %>">                <%= subProject %>:             <select id='assbar-importance' class='assbar-importance'>                <% _.each(project.importanceOptions, function(imp) { %> <option value="<%= imp %>" <% if(imp == importance) { %>selected <% } %>><%= imp %> <% }) %>   <% }) %>

<input type="textbox" id="assbar-new-subproject-name" placeholder="Enter project name" />

<select id='assbar-new-subproject-importance'> <% _.each(project.importanceOptions, function(imp) { %>       <option value="<%= imp %>" <% if(imp == "unassessed") { %>selected <% } %>><%= imp %>         <% }) %>