working on ui improvements.
This commit is contained in:
@@ -25,19 +25,19 @@
|
||||
(let [{:keys [visible? saving?]} @(re-frame/subscribe [::subs/modal-state id])]
|
||||
(when visible?
|
||||
(-> [modal {:title title
|
||||
:foot [:input.button.is-primary {
|
||||
:type "submit"
|
||||
:form id
|
||||
:disabled (cond saving?
|
||||
"disabled"
|
||||
:foot [:input.button.is-primary {:type "submit"
|
||||
:tab-index "0"
|
||||
:form id
|
||||
:disabled (cond saving?
|
||||
"disabled"
|
||||
|
||||
(not can-submit?)
|
||||
"disabled"
|
||||
(not can-submit?)
|
||||
"disabled"
|
||||
|
||||
:else
|
||||
"")
|
||||
:class (when saving?
|
||||
"is-loading")
|
||||
:else
|
||||
"")
|
||||
:class (when saving?
|
||||
"is-loading")
|
||||
:value action-text}
|
||||
]
|
||||
:id id
|
||||
|
||||
Reference in New Issue
Block a user