--- a/src/ztfy/myams/templates/forms/form.pt Tue Oct 14 14:39:01 2014 +0200
+++ b/src/ztfy/myams/templates/forms/form.pt Tue Oct 14 14:46:45 2014 +0200
@@ -9,11 +9,11 @@
<img tal:condition="config/logo"
tal:attributes="src string:${config/logo/@@absolute_url}/++display++w200.png;
alt config/logo_title;">
- <span class="title" tal:content="config/title" />
+ <span class="title" tal:content="config/title">Title</span>
</h3>
</div>
<div class="modal-body no-padding">
- <div tal:replace="structure provider:form_prefix" />
+ <div tal:replace="structure provider:form_prefix">Form prefix</div>
<form method="post"
data-async
tal:attributes="id view/id;
@@ -37,7 +37,7 @@
<div class="widgets-prefix"
tal:define="prefix provider:widgets_prefix"
tal:condition="prefix"
- tal:content="structure prefix" />
+ tal:content="structure prefix">Widgets prefix</div>
<tal:loop repeat="group view/groups">
<fieldset tal:define="legend group/legend"
tal:omit-tag="not:legend">
@@ -91,12 +91,12 @@
<div class="widgets-suffix"
tal:define="suffix provider:widgets_suffix"
tal:condition="suffix"
- tal:content="structure suffix" />
+ tal:content="structure suffix">Widgets suffix</div>
<div class="subforms"
tal:condition="view/subforms">
<fieldset tal:define="title view/subforms_legend"
tal:omit-tag="not:title">
- <legend tal:condition="title" tal:content="title" i18n:translate="" />
+ <legend tal:condition="title" tal:content="title" i18n:translate="">Title</legend>
<tal:loop repeat="subform view/subforms">
<tal:var replace="structure subform/render" />
</tal:loop>
@@ -109,7 +109,7 @@
tal:attributes="class python:tabform.widgets.errors and 'state-error' or ''">
<a data-toggle="tab"
tal:attributes="href string:#${tabform/id}"
- tal:content="tabform/tabLabel" i18n:translate="" />
+ tal:content="tabform/tabLabel" i18n:translate="">Tab label</a>
</li>
</ul>
<div class="tab-content">
@@ -124,9 +124,9 @@
</div>
<footer>
<button tal:repeat="action view/actions/values"
- tal:replace="structure action/render" />
+ tal:replace="structure action/render">Action</button>
</footer>
</form>
- <div tal:replace="structure provider:form_suffix" />
+ <div tal:replace="structure provider:form_suffix">Form suffix</div>
</div>
</div>