How you access the attributes depends on whether you want a general implementations (ie. looping the attributes) or specific (using attribute names).
The first is simply to look at the code in design/standard/templates/content/edit_attribute.tpl, create an override by placing it in design/mydesign/override/templates/content/. For example:
The code that matches is: {section show=$ContentObjectAttribute:item.contentclass_attribute.is_required}*{/section}
The second way is to access the attribute trough the data_map array, for instance to get the attribute named name. {section show=$object.data_map.name.contentclass_attribute.is_required}*{/section}