MapFish example: feature editing panel
Choose a layer in the list of layers to edit
Import data for the current extent to edit existing data
Select a feature by clicking on it, modify its vertices and/or attributes
To delete a feature, click on it and hit the Delete button
To create a feature, select the drawing tool and draw the feature
Modified/Inserted/Deleted features appear in the grouping grid
When done with editing, click on commit to save modifications