Browse Source

Another tweak of placement of loading spinner

Angus McLeod 7 years ago
parent
commit
610aa772f2
1 changed files with 3 additions and 4 deletions
  1. 3 4
      assets/javascripts/wizard/templates/components/wizard-step.hbs

+ 3 - 4
assets/javascripts/wizard/templates/components/wizard-step.hbs

@@ -28,13 +28,12 @@
   </div>
 
   <div class='wizard-buttons'>
-    {{#if showQuitButton}}
-      <a href {{action "quit"}} class='action-link quit' tabindex="11">{{i18n "wizard.quit"}}</a>
-    {{/if}}
-
     {{#if saving}}
       {{loading-spinner size='small'}}
     {{else}}
+      {{#if showQuitButton}}
+        <a href {{action "quit"}} class='action-link quit' tabindex="11">{{i18n "wizard.quit"}}</a>
+      {{/if}}
       {{#if showBackButton}}
         <a href {{action "backStep"}} class='action-link back' tabindex="11">{{i18n "wizard.back"}}</a>
       {{/if}}