Added optional form's title attribute
authorThierry Florac <thierry.florac@onf.fr>
Thu, 11 Dec 2014 14:27:42 +0100
changeset 93 9060faa099de
parent 92 ac540d79ede9
child 94 01102909c5e4
Added optional form's title attribute
src/ztfy/myams/templates/forms/form.pt
--- a/src/ztfy/myams/templates/forms/form.pt	Tue Dec 02 17:10:50 2014 +0100
+++ b/src/ztfy/myams/templates/forms/form.pt	Thu Dec 11 14:27:42 2014 +0100
@@ -9,7 +9,7 @@
 			<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">Title</span>
+			<span class="title" tal:content="view/title | config/title">Title</span>
 		</h3>
 	</div>
 	<div class="modal-body no-padding">