## -*- coding: UTF-8 -*-
## edit.html
<%inherit file="layout.html" />
<%
    # PUT to member URL
    url_args = {'controller': c.controller, 'action': 'update', 'id': c.member.id}
    if c.is_nested:
        url_args[c.parent_id_name] = c.parent_id
%>
${h.form(h.url_for(**url_args), method='PUT')}
    <%include file='_form.html' />
${h.end_form()}
