duck1123/jiksnu

View on GitHub
resources/templates/add-feed-source-form.edn

Summary

Maintainability
Test Coverage
  [:form.well.form-horizontal {:method "post" :action "/admin/feed-sources"}
   [:fieldset
    [:legend "Add Source"]
    ;; (control-line "Topic"  "topic" "text")
    ;; (control-line "Callback" "callback" "text")
    ;; (control-line "Challenge" "challenge" "text")
    ;; TODO: radio buttons?
    ;; (control-line "Mode" "mode" "text")
    ;; (control-line "User" "user" "text")
    [:div.form-actions
     [:md-button.md-primary
      {:type "submit"} "Add"]]]]