refactor(progress_bar): should be a component
This commit is contained in:
parent
af31e097fb
commit
47a8d33d85
5 changed files with 10 additions and 2 deletions
|
@ -1,5 +0,0 @@
|
|||
%template#progress-bar-template
|
||||
.direct-upload
|
||||
.direct-upload__progress{ role: "progressbar", 'aria-label': "Chargement de fichier", tabindex: "0", 'aria-valuemin': "0", 'aria-valuemax': "100", max: "100", style: "width: 0%" }
|
||||
%span.direct-upload__filename
|
||||
%slot{ name: "filename" }
|
|
@ -59,4 +59,4 @@
|
|||
- if Rails.env.development?
|
||||
= vite_typescript_tag 'axe-core'
|
||||
= yield :charts_js
|
||||
= render partial: "layouts/progress_bar"
|
||||
= render Attachment::ProgressBarComponent.new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue