example of how to create forms that return users to the URI they came from
[catagits/Reaction.git] / share / skin / componentui / layout / bar / create.tt
diff --git a/share/skin/componentui/layout/bar/create.tt b/share/skin/componentui/layout/bar/create.tt
new file mode 100644 (file)
index 0000000..e59fbba
--- /dev/null
@@ -0,0 +1,10 @@
+=widget Action
+
+=extends action
+
+=for layout container_list
+
+<input type="hidden" name="return_to_uri" value="[% return_to_uri %]">
+[% call_next %]
+
+=cut