<h1>Create a new task</h1>
<form  action="" enctype="multipart/form-data" method="post">
<table>

<tr>
<td><b>Type :</b></td><td><div><select class="reference"
id="task_type" name="type"><option value=""></option><option
value="2">Coding</option><option value="1">Designing</option><option
value="3">Testing</option></select></div></td>
</tr><tr>
<td><b>Title :</b></td><td><div><input class="string" id="task_title"
name="title" type="text" value="" /></div></td>
</tr><tr>
<td><b>Description :</b></td><td><div><textarea class="text" cols="40"
id="task_description" name="description"
rows="10"></textarea></div></td>
</tr><tr>
<td><b>Estimated Time :</b></td><div'><td><input class="string"
id="task_estimated_time" name="estimated_time" type="text" value=""
/><select class="string" id="task_estimated_time_unit"
name="estimated_time_unit"><option value=""></option><option
selected="selected" value="days">days</option><option
value="hours">hours</option></select></td> </div>

</tr>
<tr>
<td></td><td><div align='center'><input type="submit" value="Submit"
/></div></td>
</tr>
</table>


On 12/23/10, Martín Mulone <mulone.mar...@gmail.com> wrote:
> Can you show me the source html of this form generated?
>
> 2010/12/23 Sahil Arora <sahilarora...@gmail.com>:
>> I used the following code to generate a form in attached image.
>> Is it possible to change the size of the fields in the form.
>> I want to decrease size of input field of Estimated time and the dropbox
>> field to the right of it
>>
>>
>> {{=form.custom.begin}}
>> <table>
>>
>> <table><tr>
>> <td><b>Type :</b></td><td><div>{{=form.custom.widget.type}}</div></td>
>> </tr><tr>
>> <td><b>Title :</b></td><td><div>{{=form.custom.widget.title}}</div></td>
>> </tr><tr>
>> <td><b>Description
>> :</b></td><td><div>{{=form.custom.widget.description}}</div></td>
>> </tr><tr>
>> <td><b>Estimated Time
>> :</b></td><div'><td>{{=form.custom.widget.estimated_time}}{{=form.custom.widget.estimated_time_unit}}</td>
>> </div>
>> </tr>
>> <tr>
>> <td></td><td><div align='center'>{{=form.custom.submit}}</div></td>
>> </tr>
>> </table>
>>
>> {{=form.custom.end}}
>>
>> --
>> Sahil Arora
>> B.Tech 2nd year
>> Computer Science and Engineering
>> IIT Delhi
>> Contact No: +91 9871491046
>>
>
>
>
> --
> My blog: http://martin.tecnodoc.com.ar
> My portfolio *spanish*: http://www.tecnodoc.com.ar
> Checkout my last proyect instant-press: http://www.instant2press.com
>


-- 
Sahil Arora
B.Tech 2nd year
Computer Science and Engineering
IIT Delhi
Contact No: +91 9871491046

Reply via email to