urbit/web/landscape/collections/post.hoon

22 lines
614 B
Plaintext
Raw Normal View History

2018-08-01 02:31:30 +03:00
::
::::
::
2018-08-03 04:04:52 +03:00
/+ collections
2018-08-01 02:31:30 +03:00
/= gas /$ fuel:html
=/ sho=@t (fall (~(get by qix.gas) %show) %default)
2018-08-03 04:04:52 +03:00
|= [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)
2018-08-01 02:31:30 +03:00
^- manx
;div
;div
2019-03-13 01:56:59 +03:00
=urb-component "TopicCreatePage"
2018-08-03 04:04:52 +03:00
=urb-ship "{(scow %p p.bem.gas)}"
=urb-claypath "{<pax>}"
=urb-content "{(trip body)}"
=urb-show "{(trip sho)}"
=urb-lastedit "{(trip lastmod)}";
2018-08-01 02:31:30 +03:00
;input(type "hidden", name "urb-header", value "collection-write", station "query");
==