Пример #1
0
" class="text"></p>
								<p><label for="description">Description</label><br><textarea name="description" id="description" class="text"><?php 
echo $description;
?>
</textarea><span class="info">Markdown is allowed</span></p>
								<p><label for="tags">Tags</label> <input type="text" name="tags" id="tags" value="<?php 
echo $tags;
?>
" class="text"></p>
								<table class="nohover">
									<tr>
										<td>
											<p><label for="assigned_to">Assign To</label><br><select name="assigned_to" id="assigned_to">
												<option value="-1">-- None --</option>
												<?php 
echo ddAssignedTo();
?>
											</select></p>
										</td>
										<td>
											<p><label for="milestone_id">Milestone</label><br><select name="milestone_id" id="milestone_id">
												<option value="-1">-- None --</option>
												<?php 
echo ddMilestone($fakeTicket);
?>
											</select></p>
										</td>
										<td>
											<p><label for="status">Ticket Status</label><br><select name="status" id="status">
												<option value="new">New</option>
												<option value="open">Open</option>
Пример #2
0
							<form action="/ticket/<?php 
echo $ticket->id;
?>
/" method="post">
								<p><label for="comment">Add a comment</label><textarea name="comment" id="comment" class="text"></textarea><span class="info">Markdown is allowed</span></p>
								<p><label for="tags">Tags</label> <input type="text" name="tags" id="tags" value="<?php 
echo $tags;
?>
" class="text"></p>
								<table class="nohover">
									<tr>
										<td>
											<p><label for="assigned_to">Assign To</label><br><select name="assigned_to" id="assigned_to">
												<option value="-1">-- None --</option>
												<?php 
echo ddAssignedTo($ticket);
?>
											</select></p>
										</td>
										<td>
											<p><label for="milestone_id">Milestone</label><br><select name="milestone_id" id="milestone_id">
												<option value="-1">-- None --</option>
												<?php 
echo ddMilestone($ticket);
?>
											</select></p>
										</td>
										<td>
											<p><label for="status">Ticket Status</label><br><select name="status" id="status">
												<option <?php 
if ($ticket->status == "new") {