diff options
Diffstat (limited to 'views/partials/importeventform.handlebars')
| -rw-r--r-- | views/partials/importeventform.handlebars | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/views/partials/importeventform.handlebars b/views/partials/importeventform.handlebars index 13fd2ac..d62b599 100644 --- a/views/partials/importeventform.handlebars +++ b/views/partials/importeventform.handlebars @@ -37,5 +37,11 @@        </div>      </div>    </div> -  <button type="submit" class="d-block mt-3 mx-auto btn btn-primary w-50 mb-4">Import</button> +  <button +    type="submit" +    class="d-block mt-3 mx-auto btn btn-primary w-50 mb-4" +    x-bind:disabled="submitting" +    x-bind:class="submitting ? 'btn--loading' : ''" +    x-text="submitting ? 'Importing...' : 'Import'" +  ></button>  </form>  | 
