app/assets/javascripts/templates/project_velocity_override.ejs
<% var project = locals.project %>
<div class="velocity-change">
<form class="form-inline velocity-form" id="override-velocity">
<div class="form-group">
<label class="sr-only" for="override"><%= I18n.t('override.velocity') %></label>
<input type="number" class="form-control input-sm velocity-change-input" name="override" size="2" placeholder="<%= I18n.t('override.velocity') %>" value="<%= project.velocity() %>">
</div>
<div class="btn-group">
<button name="revert" value="revert" class="btn btn-default btn-sm velocity-change-btn"><%= I18n.t("revert") %></button>
<button name="apply" value="apply" class="btn btn-primary btn-sm velocity-change-btn"><%= I18n.t("apply") %></button>
</div>
</form>
<p class="velocity-change-notice"><%= I18n.t("override.explanation_1") %></p>
<p class="velocity-change-notice"><%= I18n.t("override.explanation_2") %></p>
</div>