Pipit Members v1.1.0: collections form handler
The Pipit Members v1.1.0 brings a big feature: you can now allow members registered with the Perch Members app create/edit/delete Runway collection items without writing your own custom Perch app. In other words, you can now build CRUD apps with Perch with a lot less effort and time.
<perch:form
id="collection_item"
app="pipit_members"
collection="Tickets"
method="POST"
r="/tickest/success"
fail="/tickets/fail"
>
<perch:input type="submit" value="Save">
<!--* logged-in member's CSRF token *-->
<perch:input type="hidden" id="token">
<!--* collection item's ID. If empty, a new item is created *-->
<perch:input type="hidden" id="_id">
<!--* Member ID *-->
<perch:input type="hidden" id="member[]" value="<perch:content id="member">">
</perch:form>
For more details on how to output your form for new/existing items and how to link members to them, refer to the documentation.