create_category.html
1 <div class="row">
2 <div class="col-xs-12 col-sm-12 col-md-12">
3 <div class="box box-primary">
4 <div class="box-header">
5 <h3 class="box-title">#i18n{announce.create_category.pageTitle}</h3>
6 </div>
7 <div class="box-body">
8 <form class="form-horizontal" method="post" action="jsp/admin/plugins/announce/DoCreateCategory.jsp">
9 <@formGroup labelKey='#i18n{announce.category.label}' helpKey='#i18n{announce.category.label}' mandatory=true >
10 <@input name='category_label' type='text' value='' maxlength=50 />
11 </@formGroup>
12
13 <@formGroup labelKey='#i18n{announce.category.sector}' mandatory=true >
14 <@select name='category_sector_id' items=list_sectors default_value='0' />
15 </@formGroup>
16
17 <@formGroup labelKey='#i18n{announce.category.announcesValidation}' mandatory=true >
18 <@select name='category_announces_validation' items=list_announces_validation default_value='0' />
19 </@formGroup>
20
21 <@formGroup labelKey='#i18n{announce.category.mailingList}' helpKey='#i18n{announce.category.mailingList.helper}'>
22 <@select name='mailing_list_id' items=mailing_list_list default_value='0' />
23 </@formGroup>
24
25 <@formGroup helpKey='#i18n{announce.category.displayPrice.helper}' >
26 <@checkBox name='display_price' value="true" checked=false labelKey='#i18n{announce.category.displayPrice}' />
27 </@formGroup>
28
29 <@formGroup helpKey='#i18n{announce.category.priceMandatory.helper}' >
30 <@checkBox name='price_mandatory' value="true" checked=false labelKey='#i18n{announce.category.priceMandatory}' />
31 </@formGroup>
32
33 <#if isCaptchaEnabled?? && isCaptchaEnabled>
34 <@formGroup >
35 <@checkBox name='display_captcha' value="true" checked=false labelKey='#i18n{announce.category.displayCaptcha}' />
36 </@formGroup>
37
38 </#if>
39
40 <#if listWorkflows??>
41 <@formGroup labelKey='#i18n{announce.create_category.labelWorkflow}' >
42 <@select name='id_workflow' items=listWorkflows default_value='0' />
43 </@formGroup>
44
45 </#if>
46 <div class="form-group">
47 <div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3">
48 <button class="btn btn-flat btn-primary" type="submit" name="validate" value="validate" title="#i18n{announce.create_category.buttonValidate}">
49 <i class="fa fa-check"> </i> #i18n{announce.create_category.buttonValidate}
50 </button>
51 <button class="btn btn-default btn-flat" type="button" name="cancel" onclick="javascript:history.go(-1);" title="#i18n{portal.util.labelCancel}">
52 <i class="fa fa-remove"> </i> #i18n{portal.util.labelCancel}
53 </button>
54 </div>
55 </div>
56 </form>
57 </div>
58 </div>
59 </div>
60 </div>