working on ui improvements.

This commit is contained in:
BC
2018-07-06 18:48:57 -07:00
parent bf7d0698d4
commit d87ebbbfe4
5 changed files with 108 additions and 102 deletions

View File

@@ -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