Commit a353c34d authored by Gabriel Monnerat's avatar Gabriel Monnerat

refactor code to improve the align of form

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45213 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 31df9166
...@@ -37,36 +37,52 @@ ...@@ -37,36 +37,52 @@
<value> <unicode encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<form id="create_new_event">\n <form id="create_new_event">\n
<label i18n:translate="" i18n:domain="ui">Event Type</label>\n <table>\n
<select name="portal_type">\n <tbody>\n
<tal:block tal:repeat="type python: [\'Acknowledgement\', \'Fax Message\', \'Letter\',\n <tr>\n
\'Mail Message\', \'Note\',\'Phone Call\', \n <td><label i18n:translate="" i18n:domain="ui">Event Type</label></td>\n
\'Short Message\',\'Site Message\', \'Visit\', \'Web Message\']">\n <td>\n
<option i18n:translate="" i18n:domain="ui" tal:content="type">Portal Type</option>\n <select name="portal_type">\n
</tal:block>\n <tal:block tal:repeat="type python: [\'Acknowledgement\', \'Fax Message\', \'Letter\',\n
</select>\n \'Mail Message\', \'Note\',\'Phone Call\', \n
<p>\n \'Short Message\',\'Site Message\', \'Visit\', \'Web Message\']">\n
<label i18n:translate="" i18n:domain="ui">Title</label>:\n <option i18n:translate="" i18n:domain="ui" tal:content="type">Portal Type</option>\n
<input name="title" value="" type="text" size="30">\n </tal:block>\n
<p>\n </select>\n
<label i18n:translate="" i18n:domain="ui">Start Date</label>:\n </td>\n
<input class="start_date_field" name="start_date_month" value="" maxlength="2" type="text" size="2">/\n </tr>\n
<input class="start_date_field" name="start_date_day" value="" maxlength="2" type="text" size="2">/\n <tr>\n
<input class="start_date_field" name="start_date_year" value="2011" maxlength="4" type="text" size="4">\n <td><label i18n:translate="" i18n:domain="ui">Title</label></td>\n
&nbsp;&nbsp;&nbsp;\n <td><input name="title" value="" type="text" size="30"></td>\n
<input class="start_date_field" name="start_date_hour" value="" maxlength="2" type="text" size="2">:\n </tr>\n
<input class="start_date_field" name="start_date_minute" value="" maxlength="2" type="text" size="2">\n <tr>\n
<p>\n <td><label i18n:translate="" i18n:domain="ui">Start Date</label></td>\n
<label i18n:translate="" i18n:domain="ui">Stop Date</label>:\n <td>\n
<input class="stop_date_field" name="stop_date_month" value="" maxlength="2" type="text" size="2">/\n <input class="start_date_field" name="start_date_month" value="" maxlength="2" type="text" size="2">/\n
<input class="stop_date_field" name="stop_date_day" value="" maxlength="2" type="text" size="2">/\n <input class="start_date_field" name="start_date_day" value="" maxlength="2" type="text" size="2">/\n
<input class="stop_date_field" name="stop_date_year" value="2011" maxlength="4" type="text" size="4">\n <input class="start_date_field" name="start_date_year" value="2011" maxlength="4" type="text" size="4">\n
&nbsp;&nbsp;&nbsp;\n &nbsp;&nbsp;&nbsp;\n
<input class="stop_date_field" name="stop_date_hour" value="" maxlength="2" type="text" size="2">:\n <input class="start_date_field" name="start_date_hour" value="" maxlength="2" type="text" size="2">:\n
<input class="stop_date_field" name="stop_date_minute" value="" maxlength="2" type="text" size="2">\n <input class="start_date_field" name="start_date_minute" value="" maxlength="2" type="text" size="2">\n
<p>\n </td>\n
<label i18n:translate="" i18n:domain="ui">Text</label>:\n </tr>\n
<textarea name="event_text_content" rows="2" cols="30"></textarea>\n <tr>\n
<td><label i18n:translate="" i18n:domain="ui">Stop Date</label></td>\n
<td>\n
<input class="stop_date_field" name="stop_date_month" value="" maxlength="2" type="text" size="2">/\n
<input class="stop_date_field" name="stop_date_day" value="" maxlength="2" type="text" size="2">/\n
<input class="stop_date_field" name="stop_date_year" value="2011" maxlength="4" type="text" size="4">\n
&nbsp;&nbsp;&nbsp;\n
<input class="stop_date_field" name="stop_date_hour" value="" maxlength="2" type="text" size="2">:\n
<input class="stop_date_field" name="stop_date_minute" value="" maxlength="2" type="text" size="2">\n
</td>\n
</tr>\n
<tr>\n
<td><label i18n:translate="" i18n:domain="ui">Text</label></td>\n
<td><textarea name="event_text_content" rows="2" cols="30"></textarea></td>\n
</tr>\n
<tbody>\n
</table>\n
</form> </form>
]]></unicode> </value> ]]></unicode> </value>
......
340 341
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment