2015-08-31 12:15 GMT-05:00 Andrew Beverley <andy@andybev.com>:
On Mon, 2015-08-31 at 12:10 -0500, Richard Reina wrote:
> Does template toolkit provide of any sort of way to iterate a query results
> like below but to also allow a space to the right (like an addon) for user
> to type in text?

It's not so much a template toolkit question - (TT will produce whatever output
you want). It's a HTML question - use an input box:

>  So that I would have:
>
> [checkbox] [table columns] [small text area]
> I have been struggling with how to go about this for about a day and I
> believe it is beyond my pay-grade.
>
> I feel like I am close but have been stuck for so long that I am beginning
> to question if I am going about this entirely the wrong way and that
> perhaps there is an easier TT method.
>
> <div class="container" style="margin-top:20px;">
>   <div class="row">
>     <div class="col-xs-12">
>           <form role="form" action="openchallenges" method="POST">
>             <h3 class="text-center">Open To Do</h3>
>             <div class="well" style="max-height: 300px;overflow: auto;">
>                 <ul class="list-group">    <!-- <ul class="list-group
> checked-list-box"> -->
>              <table style="width:100%">
>                 <% FOREACH ID IN Chlngs.keys.sort %>
>                 <tr class="list-group-item">
>                  <td width="5"> <input type="checkbox" name="<% Chlngs.$
> ID.ID %>"</input> </td>
>                   <td width="70"><% Chlngs.$ID.SNAME %></td>
>                   <td width="75"><% Chlngs.$ID.ANAME %></td>
>                   <td width="35"><% Chlngs.$ID.SSN %></td>
>                   <td width="35"><% Chlngs.$ID.YR %></td>
>                   <td width="250"><% Chlngs.$ID.CHNAME %></td>
>                   <td width="550"><% Chlngs.$ID.DESCRIP %></td>

In here, insert something like:

    <td><input type="text" name="..."></td>

Andy



Andrew,

Thank you so much. Really appreciate it. And sorry for being off topic. Had a feeling it was more HTML related but wasn't sure if I had the wrong approach all together.

Again, thank you for the help.

Richard