Added simple paragraphs container view
authorThierry Florac <thierry.florac@onf.fr>
Fri, 10 Nov 2017 11:50:54 +0100
changeset 246 fbb9edefeb58
parent 245 6b02caf97666
child 247 4534b0edd1ad
Added simple paragraphs container view
src/pyams_content/component/paragraph/zmi/templates/paragraphs.pt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_content/component/paragraph/zmi/templates/paragraphs.pt	Fri Nov 10 11:50:54 2017 +0100
@@ -0,0 +1,14 @@
+<div class="form-group" i18n:domain="pyams_content">
+	<fieldset class="margin-top-10 padding-top-5 padding-bottom-0">
+		<legend
+			class="inner switcher margin-bottom-5 padding-right-10 no-y-padding pull-left width-auto"
+			data-ams-switcher-state="open">
+			<i18n:var translate="">Paragraphs</i18n:var>
+		</legend>
+		<div class="pull-left persistent">
+			<tal:var content="structure provider:pyams.widget_title" />
+		</div>
+		<div class="clearfix"></div>
+		<tal:var content="structure view.table.render()" />
+	</fieldset>
+</div>