When first starting out, it would be a lot easier to see what the html
helpers are doing if the html were tidier.

On Oct 5, 10:44 am, Anthony <abasta...@gmail.com> wrote:
> If you're using the FORM or SQLFORM helper (or Crud), I don't think there's
> any way to control the way it is serialized in the response body. Why do you
> need that format?
>
> Anthony
>
>
>
> On Wednesday, October 5, 2011 10:06:25 AM UTC-4, miroslavgojic wrote:
>
> > I have simply form and it work, but in HTML source code it is one
> > line, how i can get form i more lines i HTML source code.
>
> > Source code for my form in one line:
>
> > <form action="" enctype="multipart/form-data" method="post"><table><tr
> > id="poruke_poruka__row"><td class="w2p_fl"><label for="poruke_poruka"
> > id="poruke_poruka__label">Poruka: </label></td><td
> > class="w2p_fw"><input class="string" id="poruke_poruka" name="poruka"
> > type="text" value="" /></td><td class="w2p_fc"></td></tr><tr
> > id="poruke_post_author__row"><td class="w2p_fl"><label
> > for="poruke_post_author" id="poruke_post_author__label">Post Author: </
> > label></td><td class="w2p_fw"><input class="string"
> > id="poruke_post_author" name="post_author" type="text" value="" /></
> > td><td class="w2p_fc"></td></tr><tr id="submit_record__row"><td
> > class="w2p_fl"></td><td class="w2p_fw"><input type="submit"
> > value="Submit" /></td><td class="w2p_fc"></td></tr></table><div
> > class="hidden"><input name="_formkey" type="hidden"
> > value="92194098-9cae-46c7-92d5-6f084a47536d" /><input name="_formname"
> > type="hidden" value="poruke/create" /></div></form>
>
> > And I need to get:
>
> > <form action="" enctype="multipart/form-data" method="post">
> > <table>
> > <tr id="poruke_poruka__row">
> > <td class="w2p_fl">
> > <label for="poruke_poruka" id="poruke_poruka__label">
> > Poruka:
> > </label>
> > </td>
> > <td class="w2p_fw">
> > <input class="string" id="poruke_poruka" name="poruka" type="text"
> > value="" />
> > </td>
> > <td class="w2p_fc">
> > </td>
> > </tr>
> > <tr id="poruke_post_author__row">
> > <td class="w2p_fl">
> > <label for="poruke_post_author" id="poruke_post_author__label">
> > Post Author:
> > </label>
> > </td>
> > <td class="w2p_fw">
> > <input class="string" id="poruke_post_author" name="post_author"
> > type="text" value="" />
> > </td>
> > <td class="w2p_fc">
> > </td>
> > </tr>
> > <tr id="submit_record__row">
> > <td class="w2p_fl">
> > </td>
> > <td class="w2p_fw">
> > <input type="submit" value="Submit" />
> > </td>
> > <td class="w2p_fc">
> > </td>
> > </tr>
> > </table>
> > <div class="hidden">
> > <input name="_formkey" type="hidden"
> > value="92194098-9cae-46c7-92d5-6f084a47536d" />
> > <input name="_formname" type="hidden" value="poruke/create" />
> > </div>
> > </form>

Reply via email to