2 <div class="row-fluid sortable ui-sortable">
3 <div class="box col-md-12">
4 <div class="panel panel-default">
5 <div class="panel-heading" data-original-title="">
6 <span class="icon-th"></span> Create a new Ticket
8 <div class="panel-body">
9 <div class="row-fluid">
10 <form id="changePassword" class="form-vertical" method="post" action="index.php?page=createticket&id={$target_id}">
11 <legend>New ticket</legend>
13 <div class="control-group {if isset($TITLE_ERROR) and $TITLE_ERROR eq "TRUE"}error{/if}">
14 <label class="control-label">Title</label>
15 <div class="controls">
16 <div class="input-prepend">
17 <input type="text" class="span8" id="Title" name="Title" {if isset($Title)}value='{$Title}'{/if}>
18 {if isset($TITLE_ERROR) and $TITLE_ERROR eq "TRUE"}<span class="help-inline">{$TITLE_ERROR_MESSAGE}</span>{/if}
23 <div class="control-group">
24 <label class="control-label">Category</label>
25 <div class="controls">
26 <select name="Category">
27 {foreach from=$category key=k item=v}
28 <option value="{$k}">{$v}</option>
34 <div class="control-group {if isset($CONTENT_ERROR) and $CONTENT_ERROR eq "TRUE"}error{/if}">
35 <label class="control-label">Description</label>
36 <div class="controls">
37 <div class="input-prepend">
38 <textarea rows="12" class="span12" id="Content" name="Content">{if isset($Content)}{$Content}{/if}</textarea>
39 {if isset($CONTENT_ERROR) and $CONTENT_ERROR eq "TRUE"}<span class="help-inline">{$CONTENT_ERROR_MESSAGE}</span>{/if}
44 <input type="hidden" name="function" value="create_ticket">
45 <input type="hidden" name="target_id" value="{$target_id}">
46 <div class="control-group">
47 <label class="control-label"></label>
48 <div class="controls">
49 <button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Send Ticket</button>