      (text-input-control cursor owner [:sensors sensor_id] :type "Type")
      (text-input-control cursor owner [:sensors sensor_id] :alias "Header Rows")
      (text-input-control cursor owner [:sensors sensor_id] :unit "Unit")
-     (text-input-control cursor owner [:sensors sensor_id] :period "Period")
+     [:div {:style {:padding-left "15px"}}
+      (sensor-period-dropdown owner [:sensors sensor_id :period] (:period cursor))]
      (text-input-control cursor owner [:sensors sensor_id] :resolution "Resolution")
      (checkbox cursor owner [:sensors sensor_id] :actual_annual "Calculated Field")]))
 

             (bs/text-input-control nil owner [:sensor :type] "Type" true)
             (bs/text-input-control nil owner [:sensor :alias] "Header Rows")
             (bs/text-input-control nil owner [:sensor :unit] "Unit" true)
             (sensor-period-dropdown owner)
             (bs/text-input-control nil owner [:sensor :resolution] "Resolution")
             (bs/checkbox nil owner [:sensor :actual_annual] "Calculated Field")]]]])))))


              (bs/text-input-control cursor owner [:sensor :type] "Type" true)
              (bs/text-input-control cursor owner [:sensor :alias] "Header Rows")
              (bs/text-input-control cursor owner [:sensor :unit] "Unit" true)
              (sensor-period-dropdown owner [:sensor :period] "Select period")
              (bs/text-input-control cursor owner [:sensor :resolution] "Resolution")
              (bs/checkbox cursor owner [:sensor :actual_annual] "Calculated Field")]]]))))))

