Close to supporting bulk upload
This commit is contained in:
@@ -255,11 +255,12 @@
|
||||
Consumer
|
||||
["status" "can-submit" "fullwidth?"]
|
||||
(fn [status can-submit fullwidth?]
|
||||
[:button.button.is-medium.is-primary {:disabled (or (status/disabled-for status)
|
||||
(not can-submit))
|
||||
:class (cond-> (or class [])
|
||||
(status/class-for status) (into (status/class-for status))
|
||||
fullwidth? (conj "is-fullwidth")) }
|
||||
[:button.button.is-primary {:disabled (or (status/disabled-for status)
|
||||
(not can-submit))
|
||||
:class (cond-> (or class [])
|
||||
(status/class-for status) (into (status/class-for status))
|
||||
fullwidth? (conj "is-fullwidth")
|
||||
(not= "is-small" class) (conj "is-medium")) }
|
||||
child]))))
|
||||
|
||||
(defn hidden-submit-button []
|
||||
|
||||
Reference in New Issue
Block a user