Commit 629d752c authored by Jérome Perrin's avatar Jérome Perrin

ERP5: make add ERP5 Python Script follow Zope 4 ZMI style

parent bc9b6328
<dtml-var manage_page_header> <dtml-var manage_page_header>
<main class="container-fluid">
<dtml-var "manage_form_title(this(), _, <dtml-var "manage_form_title(this(), _,
form_title='Add ERP5 Python Script', form_title='Add ERP5 Python Script',
)"> )">
...@@ -10,43 +11,24 @@ some erp5 properties ...@@ -10,43 +11,24 @@ some erp5 properties
</p> </p>
<form action="addPythonScriptThroughZMI" method="POST"> <form action="addPythonScriptThroughZMI" method="POST">
<div class="form-group row">
<table cellspacing="0" cellpadding="2" border="0"> <label for="id" class="form-label col-sm-3 col-md-2">Id</label>
<tr> <div class="col-sm-9 col-md-10">
<td align="left" valign="top"> <input id="id" class="form-control code" type="text" name="id" />
<div class="form-label">
Id
</div> </div>
</td>
<td align="left" valign="top">
<input type="text" name="id" size="40" />
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-label">
Title
</div> </div>
</td> <div class="form-group row">
<td align="left" valign="top"> <label for="title" class="form-label col-sm-3 col-md-2">Title</label>
<input type="text" name="title" size="40" /> <div class="col-sm-9 col-md-10">
</td> <input id="title" class="form-control" type="text" name="title" />
</tr> </div>
</div>
<tr> <div class="zmi-controls">
<td align="left" valign="top"> <input class="btn btn-primary" type="submit" name="submit" value="Add" />
</td> <input class="btn btn-primary" type="submit" name="submit_add_and_edit" value="Add and Edit" />
<td align="left" valign="top">
<div class="form-element">
<input class="form-element" type="submit" name="submit"
value=" Add " />
<input class="form-element" type="submit" name="submit"
value=" Add and Edit " />
</div> </div>
</td>
</tr>
</table>
</form> </form>
</main>
<dtml-var manage_page_footer> <dtml-var manage_page_footer>
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