<div class="wrapper">
    {exp:channel:entries channel="my_moblog" dynamic="no" status="not Submitted"}
    {if count==1}
    <div class="postions-list constrainedContent clearFix">
        <ul>
            {/if}


            <li class="position">
                {exp:channel:form channel="et_email_to_task_channel" return="tasks" entry_id="{entry_id}"}
                <div class="row{if count==1} active{/if}">
                    <div>
                        <div class="header">Subject</div>
                        <div class="interior"> <textarea name="task_subject" type="text" cols="50" rows="2">{title}</textarea>
                        </div>
                    </div>
                    <div>
                        <div class="header">Body</div>
                        <div class="interior">
                            <textarea name="task_body"  value="{task_body}" cols="50" rows="4">{task_body}..</textarea>
                        </div>
                    </div>
                    <div>
                        <div class="header">From</div>
                        <div class="interior">{task_from}
                        </div>
                    </div>
                    <div>
                        <div class="header">Date/Entry ID</div>
                        <div class="interior">{entry_date format="%M %d, %Y - %g:%i %A"} / {entry_id}
                        </div>
                    </div>

                </div>

                <div class="row {if count==1} active{/if}">
                    <div>
                        <div class="interior">
                            <select {if count==1}  name="task_project" id="task_project" class="project_list" {/if}>
                            <option value="">Select</option>
                            </select>
                        </div>
                    </div>
                    <div>
                        <div class="interior">
                            <select {if count==1} name="task_list" id="task_list" class="project_todo_list" {/if}>
                            <option value="">Select ToDo List</option>
                            </select>
                        </div>
                    </div>
                    <div>
                        <div class="interior">

                            <h3>Create ToDo?</h3><br>
                            <input type="checkbox" name="category[]" id="categories" class="create-todo" value="2">Yep<br><br>

                            Assign to:<br>
                            <input type="radio" name="todo_assignee" value="193399">Luke <br>
                            <input type="radio" name="todo_assignee" value="13932451">Han <br>
                            <input type="radio" name="todo_assignee" value="193357">Lando<br>
                            <input type="radio" name="todo_assignee" value="193676">Leia <br>
                            <input type="radio" name="todo_assignee" value="193086">Chewbacca <br>

                        </div>
                    </div>
                    <div>
                        <div class="interior">
                            <h3>Create Message?</h3><br>
                            <input type="checkbox" name="category[]" id="categories" class="create-message" value="1">Yep<br><br>
                            {if count==1}
                            <div class="notification">
                                Notify:<br>
                                <input type="checkbox" name="task_notification_list[]" value="193399">Luke<br>
                                <input type="checkbox" name="task_notification_list[]" value="13932451">Han<br>
                                <input type="checkbox" name="task_notification_list[]" value="193357">Lando<br>
                                <input type="checkbox" name="task_notification_list[]" value="193676">Leia<br>
                                <input type="checkbox" name="task_notification_list[]" value="193086">Chewbacca<br>
                            </div>
                            {/if}
                        </div>
                    </div>
                </div>

                {if count==1}
                <div class="submit-box">
                    Send to Basecamp, or ignore?<br>
                    <select name="status" id="status">
                        <option value="Submitted">Submit</option>
                        <option value="closed">Ignore</option>
                    </select>
                    <br>
                    <button class="submit" type="submit" value="Submit">Submit</button>
                </div>
                {/if}
                {/exp:channel:form}
            </li>
            {if count==total_results}
        </ul>
    </div>
    {/if}
    {/exp:channel:entries}
</div>