% if (inventoryType === 'FEELINGS') { %>
Move the sliders to show where you are on each scale. You must select a number on each scale in order to save.
<% _.each(questions, function(q) { %> <% }); } if (inventoryType === 'CURRENT_AND_DESIRED_STATE') { var prefix, reason, slider; if (typeof questions.quote !== 'undefined') { %><%= questions.quote%><% } %> <%=questions.question%> <% _.each(questions.states, function(s) { prefix = [s.state, questions.id].join('-'); reason = [prefix, 'reasons'].join('-'); slider = [prefix, 'slider'].join('-'); %> <% }); } if (inventoryType === 'REFLECTIONS') { %> <% } if (inventoryType === 'PRIORITIES') { if(questions[0].goal.length === 0 ) {%>
The road to success is within you. By now, you have reflected on different areas of your life. The next step is to choose a goal to work on. It is important to be ready to do this. Are you ready to set some priorities to change your life?
Set yourself up for success! Choose one or two priority areas to set your goals.
<% var area, goal, goalInput, categoryOptions = [], selected, disabled = ""; _.each(categories, function(cat) { categoryOptions.push(''); }); categoryOptions = categoryOptions.join('\n'); _.each(questions, function(q) { area = [q.id, 'area'].join('-'); goal = [q.id, 'goal'].join('-'); goalInput = [goal,'input'].join('-'); selected = '"' + q.area + '"'; //categoryOptions.replace(selected, selected + " selected") %> <% //disable remaing priorities if current one not set. disabled = q.area.length !== 0 ? "" : "disabled"; }); %>