Skip to content
Snippets Groups Projects
Commit 4e723794 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Makeing draft button second and submit first.

parent 52a41279
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,8 @@
{% endif %}
{% endif %}
{% endfor %}
<button class="link link--button-tertiary" type="submit" name="draft" value="Save Draft" formnovalidate>Save Draft</button>
<button class="link link--button-secondary" type="submit" disabled>Submit for review</button>
<button class="link link--button-tertiary" type="submit" name="draft" value="Save Draft" formnovalidate>Save Draft</button>
</form>
<p class="wrapper--error message-no-js js-hidden">You must have Javascript enabled to use this form.</p>
{% endif %}
......
......@@ -81,7 +81,7 @@
.attr('title', 'Copies all the questions and user input to the clipboard in plain text.');
var $application_form = $('.application-form');
$button.clone().css({'display': 'block', 'margin-left': 'auto'}).insertBefore($application_form);
$button.insertAfter($application_form.find('.link--button-secondary').last());
$button.css({'margin-left': '20px'}).insertAfter($application_form.find('button').last());
$('.js-clipboard-button').on('click', function (e) {
e.preventDefault();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment