Skip to content

Request a resource - Resource request creation

As an entrepreneur, I should be able to create a request for a given resource.

Architecture

Because it is a dialog, we need a sib-route defined in dashboard.pug which points to a dialog element having an id corresponding to the route name. This route should include a template defined in requests/create.pug

This template should implement one sib-form having the endpoints.requests as data-src and defining the proper fields display and widgets.

The submission of this form should properly POST on the API for a request creation and returns a 200 HTTP Code, then redirect to a confirmation page.

Edited by Alice Poggioli