Merge pull request #17841 from seamuslee001/eventcart_setting
[civicrm-core.git] / templates / CRM / Campaign / Form / Campaign.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10<div class="crm-block crm-form-block crm-campaign-form-block">
11
6a488035
TO
12
13{if $action eq 8}
14 <table class="form-layout">
15 <tr>
16 <td colspan="2">
17 <div class="status"><div class="icon inform-icon"></div>&nbsp;{ts}Are you sure you want to delete this Campaign?{/ts}</div>
18 </td>
19 </tr>
20 </table>
21{else}
22 <div class="crm-submit-buttons">
23 {include file="CRM/common/formButtons.tpl" location="top"}
24 </div>
25
26 <table class="form-layout-compressed">
27 <tr class="crm-campaign-form-block-title">
28 <td class="label">{$form.title.label}</td>
29 <td class="view-value">{$form.title.html}</td>
30 </tr>
31 <tr class="crm-campaign-form-block-campaign_type_id">
32 <td class="label">{$form.campaign_type_id.label}</td>
33 <td class="view-value">{$form.campaign_type_id.html}</td>
34 </tr>
35 <tr class="crm-campaign-form-block-description">
36 <td class="label">{$form.description.label}</td>
37 <td class="view-value">{$form.description.html}</td>
38 </tr>
39 <tr class="crm-campaign-form-block-includeGroups">
40 <td class="label">{$form.includeGroups.label}</td>
41 <td>{$form.includeGroups.html}</td>
42 </tr>
43 <tr class="crm-campaign-form-block-start_date">
44 <td class="label">{$form.start_date.label}</td>
c38a7f6b 45 <td class="view-value">{$form.start_date.html}</td>
6a488035
TO
46 </tr>
47 <tr class="crm-campaign-form-block-end_date">
48 <td class="label">{$form.end_date.label}</td>
c38a7f6b 49 <td class="view-value">{$form.end_date.html}</td>
6a488035
TO
50 </tr>
51 <tr class="crm-campaign-form-block-status_id">
52 <td class="label">{$form.status_id.label}</td>
53 <td class="view-value">{$form.status_id.html}</td>
54 </tr>
55 <tr class="crm-campaign-form-block-goal_general">
56 <td class="label">{$form.goal_general.label}</td>
57 <td class="view-value">{$form.goal_general.html}</td>
58 </tr>
59 <tr class="crm-campaign-form-block-goal_revenue">
60 <td class="label">{$form.goal_revenue.label}</td>
61 <td class="view-value">{$form.goal_revenue.html}</td>
62 </tr>
63 <tr class="crm-campaign-form-block-external_identifier">
64 <td class="label">{$form.external_identifier.label}</td>
65 <td class="view-value">{$form.external_identifier.html}</td>
66 </tr>
67
68 {* Suppress parent-child feature for now. dgg *}
69 {*
70 <tr class="crm-campaign-form-block-parent_id">
71 <td class="label">{$form.parent_id.label}</td>
72 <td class="view-value">{$form.parent_id.html}</td>
73 </tr> *}
74
75 <tr class="crm-campaign-form-block-is_active">
76 <td class="label">{$form.is_active.label}</td>
77 <td class="view-value">{$form.is_active.html}</td>
78 </tr>
79 </table>
80
14c67729 81 {include file="CRM/common/customDataBlock.tpl"}
6a488035
TO
82
83{/if}
84<div class="crm-submit-buttons">
85 {include file="CRM/common/formButtons.tpl" location="bottom"}
86</div>
87</div>