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 @@
<value> <unicode encoding="cdata"><![CDATA[
<form id="create_new_event">\n
<label i18n:translate="" i18n:domain="ui">Event Type</label>\n
<select name="portal_type">\n
<tal:block tal:repeat="type python: [\'Acknowledgement\', \'Fax Message\', \'Letter\',\n
\'Mail Message\', \'Note\',\'Phone Call\', \n
\'Short Message\',\'Site Message\', \'Visit\', \'Web Message\']">\n
<option i18n:translate="" i18n:domain="ui" tal:content="type">Portal Type</option>\n
</tal:block>\n
</select>\n
<p>\n
<label i18n:translate="" i18n:domain="ui">Title</label>:\n
<input name="title" value="" type="text" size="30">\n
<p>\n
<label i18n:translate="" i18n:domain="ui">Start Date</label>:\n
<input class="start_date_field" name="start_date_month" 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="start_date_field" name="start_date_year" value="2011" maxlength="4" type="text" size="4">\n
&nbsp;&nbsp;&nbsp;\n
<input class="start_date_field" name="start_date_hour" 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
<label i18n:translate="" i18n:domain="ui">Stop Date</label>:\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
<p>\n
<label i18n:translate="" i18n:domain="ui">Text</label>:\n
<textarea name="event_text_content" rows="2" cols="30"></textarea>\n
<table>\n
<tbody>\n
<tr>\n
<td><label i18n:translate="" i18n:domain="ui">Event Type</label></td>\n
<td>\n
<select name="portal_type">\n
<tal:block tal:repeat="type python: [\'Acknowledgement\', \'Fax Message\', \'Letter\',\n
\'Mail Message\', \'Note\',\'Phone Call\', \n
\'Short Message\',\'Site Message\', \'Visit\', \'Web Message\']">\n
<option i18n:translate="" i18n:domain="ui" tal:content="type">Portal Type</option>\n
</tal:block>\n
</select>\n
</td>\n
</tr>\n
<tr>\n
<td><label i18n:translate="" i18n:domain="ui">Title</label></td>\n
<td><input name="title" value="" type="text" size="30"></td>\n
</tr>\n
<tr>\n
<td><label i18n:translate="" i18n:domain="ui">Start Date</label></td>\n
<td>\n
<input class="start_date_field" name="start_date_month" 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="start_date_field" name="start_date_year" value="2011" maxlength="4" type="text" size="4">\n
&nbsp;&nbsp;&nbsp;\n
<input class="start_date_field" name="start_date_hour" 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
</td>\n
</tr>\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>
]]></unicode> </value>
......
340
\ No newline at end of file
341
\ 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