Edit patient attribute values

I have defined some additional Personal Attribute Types to be filled in the Registration. But they don’t have any interface to Edit their value later. Any sample code on this? (via HTML form or Page) Thank you.

Did you try a page like this? http://demo.openmrs.org/openmrs/admin/patients/patient.form?patientId=18