web/views/edit_attributes.pt
changeset 0 b97547f5f1fa
equal deleted inserted replaced
-1:000000000000 0:b97547f5f1fa
       
     1   <table class="attributeForm" style="width:100%;"
       
     2 	 tal:attributes="id tab_id | nothing;
       
     3 			 class tab_class | nothing;">
       
     4     <tr tal:iter="widget lines">
       
     5       <th class="labelCol" tal:content="structure python:widget.render_label(entity)">attrname</th>
       
     6       <td tal:define="error python:widget.render_error(entity)" style="width:100%;"
       
     7           tal:attributes="class python:error and 'error' or nothing">
       
     8 	<div tal:replace="structure error">error message if any</div>
       
     9 	<div tal:replace="structure python:widget.edit_render(entity)" >widget (input, textarea, etc.)</div>
       
    10 	<div tal:replace="structure python:widget.render_help(entity)">format help if any</div>
       
    11       </td>
       
    12     </tr>
       
    13   </table>