Merge branch 'main/rendor-staging' into main/atys-live
[ryzomcore.git] / web / public_php / ams / templates / createticket.tpl
blobf8604f75aa5687e8591eead65a4ab641984b65db
1 {block name=content}
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
7         </div>
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}
19                             </div>
20                         </div>
21                     </div>
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>
29                                 {/foreach}
30                             </select>
31                         </div>
32                     </div>
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}
40                                                         </div>
41                         </div>
42                     </div>
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>
50                         </div>
51                     </div>
52                 </form>
53             </div>
54         </div>
55                 </div>
56     </div><!--/span-->
57 </div><!--/row-->
58 {/block}