eggification
[MosaicDocument.git] / Products / MosaicDocument / default_slots / slot_list_form.pt
diff --git a/Products/MosaicDocument/default_slots/slot_list_form.pt b/Products/MosaicDocument/default_slots/slot_list_form.pt
new file mode 100755 (executable)
index 0000000..dc577fc
--- /dev/null
@@ -0,0 +1,34 @@
+<html tal:omit-tag="">
+  <head tal:replace="nothing">
+    <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
+    <title>slot_text_form</title>
+  </head>
+  <body tal:define="object nocall:options/object;
+                    cols object/cols;
+                    rows object/rows;
+                    text object/text|nothing;"
+        tal:omit-tag="">
+    <table border="0" cellspacing="2" cellpadding="0">
+      <tr>
+        <td align="center">
+          <input type="text" name="cols:int" size="2" tabindex="2" class="mosaic_input"
+                 tal:attributes="name python:'.'.join((object.id, 'cols')) + ':record:int';
+                                 value cols" />
+        </td>
+        <td></td>
+      </tr>
+      <tr>
+        <td><textarea tabindex="1" tal:attributes="name python:'.'.join((object.id, 'text')) + ':record:text'  ;
+                              cols cols ;
+                              rows rows"
+              class="mosaic_input"
+              tal:content="text"></textarea></td>
+        <td>
+          <input type="text" name="rows:int" size="2"  class="mosaic_input"
+                 tal:attributes="name python:'.'.join((object.id, 'rows')) + ':record:int';
+                                 value rows" />
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
\ No newline at end of file