by
Manuchap
Locomotive 3.x
Action used to edit a member on the Members app.
---
title: Saving
published: true
handle: edit_member
---
{% capture member %}{{ params.slug }}{% endcapture %}
{% action 'editMember' %}
setProp('member', '{{member}}');
var params = getProp('params');
var member = getProp('member');
updateEntry('members', member, { genre: params.genre, nickname: params.nick, first_name: params.firs, last_name: params.last, description: params.desc, avatar: params.avat });
redirectTo('members');
{% endaction %}