more viewing from UI.
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
[:div.control.has-icons-left
|
||||
[bind-field
|
||||
[:input.input.is-expanded {:type "text"
|
||||
:field :primary-contact
|
||||
:field [:primary-contact :name]
|
||||
:spec ::entity/primary-contact
|
||||
:event change-event
|
||||
:subscription vendor}]]
|
||||
@@ -92,7 +92,7 @@
|
||||
[:i.fa.fa-envelope]]
|
||||
[bind-field
|
||||
[:input.input {:type "email"
|
||||
:field :primary-email
|
||||
:field [:primary-contact :email]
|
||||
:spec ::entity/primary-email
|
||||
:event change-event
|
||||
:subscription vendor}]]]
|
||||
@@ -100,7 +100,7 @@
|
||||
[:div.control.has-icons-left
|
||||
[bind-field
|
||||
[:input.input {:type "phone"
|
||||
:field :primary-phone
|
||||
:field [:primary-contact :phone]
|
||||
:spec ::entity/primary-phone
|
||||
:event change-event
|
||||
:subscription vendor}]]
|
||||
@@ -112,7 +112,7 @@
|
||||
[:div.control.has-icons-left
|
||||
[bind-field
|
||||
[:input.input.is-expanded {:type "text"
|
||||
:field :secondary-contact
|
||||
:field [:secondary-contact :name]
|
||||
:spec ::entity/secondary-contact
|
||||
:event change-event
|
||||
:subscription vendor}]]
|
||||
@@ -123,14 +123,14 @@
|
||||
[:i.fa.fa-envelope]]
|
||||
[bind-field
|
||||
[:input.input {:type "email"
|
||||
:field :secondary-email
|
||||
:field [:secondary-contact :email]
|
||||
:spec ::entity/secondary-email
|
||||
:event change-event
|
||||
:subscription vendor}]]]
|
||||
[:div.control.has-icons-left
|
||||
[bind-field
|
||||
[:input.input {:type "phone"
|
||||
:field :secondary-phone
|
||||
:field [:secondary-contact :phone]
|
||||
:spec ::entity/secondary-phone
|
||||
:event change-event
|
||||
:subscription vendor}]]
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
(vec (concat [dom keys] rest))))
|
||||
|
||||
|
||||
|
||||
#_(defn edit-dialog []
|
||||
(let [editing-vendor (:vendor @(re-frame/subscribe [::subs/admin]))
|
||||
companies-by-id @(re-frame/subscribe [::subs/companies-by-id])]
|
||||
|
||||
Reference in New Issue
Block a user