<label for="course-modes"><%= gettext("Choose mode") %></label>
<select id="course-modes">
<% _.each(course_modes, function(course_mode) { %>
     <option value= "<%= course_mode %>"><%= course_mode %></option>
<% }); %>
</select>
<a href=<%= certificate_web_view_url %> class="button preview-certificate-link" target="_blank">
    <%= gettext("Preview Certificate") %>
</a>
<% if (CMS.User.isGlobalStaff) { %>
<button class="button activate-cert">
    <span>
    <% if(!is_active) { %>
        <%= gettext("Activate") %></span>
    <% } else { %>
        <%= gettext("Deactivate") %></span>
    <% } %>
</button>
<% } %>
