makes stuff work
This commit is contained in:
@@ -13,12 +13,9 @@
|
||||
|
||||
(defn text-input- [params]
|
||||
[:input
|
||||
{:type "text"
|
||||
:class "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
|
||||
:autofocus (:autofocus params)
|
||||
:name (:name params)
|
||||
:placeholder (:placeholder params)
|
||||
:value (:value params)}])
|
||||
(update params
|
||||
:class str " bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500")
|
||||
])
|
||||
|
||||
(defn field- [params & rest]
|
||||
(into
|
||||
|
||||
Reference in New Issue
Block a user