urbit/web/landscape/collections/post.hoon
Isaac Visintainer 50f74799c3 various bugfixes
2018-08-02 18:04:52 -07:00

22 lines
615 B
Plaintext

::
::::
::
/+ collections
/= gas /$ fuel:html
=/ sho=@t (fall (~(get by qix.gas) %show) %default)
|= [raw=(unit raw-item:collections) pax=path]
=/ body ?~(raw '' data.u.raw)
=/ front ?~(raw ~ meta.u.raw)
=/ lastmod (fall (~(get by front) %last-modified) ~.missing-date)
^- manx
;div
;div
=urb-component "TopicCreatePage"
=urb-ship "{(scow %p p.bem.gas)}"
=urb-claypath "{<pax>}"
=urb-content "{(trip body)}"
=urb-show "{(trip sho)}"
=urb-lastedit "{(trip lastmod)}";
;input(type "hidden", name "urb-header", value "collection-write", station "query");
==