diff options
| author | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-09 23:53:11 +0100 | 
|---|---|---|
| committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-09 23:53:11 +0100 | 
| commit | 116a1ac2025c891371f6f5f33b6e39aca23a098b (patch) | |
| tree | b0df00b36e7b10f700fdd62e2f41946c3141cdc0 /views/partials/importeventform.handlebars | |
| parent | 0eb9d0b572830fa1a0f09435a6baf7ab9ebd8cfc (diff) | |
Make modal HTML valid, improve button labels
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>  | 
