| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.7 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
| 6 | +--------------------------------------------------------------------+ |
| 7 | | This file is a part of CiviCRM. | |
| 8 | | | |
| 9 | | CiviCRM is free software; you can copy, modify, and distribute it | |
| 10 | | under the terms of the GNU Affero General Public License | |
| 11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | |
| 12 | | | |
| 13 | | CiviCRM is distributed in the hope that it will be useful, but | |
| 14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 16 | | See the GNU Affero General Public License for more details. | |
| 17 | | | |
| 18 | | You should have received a copy of the GNU Affero General Public | |
| 19 | | License and the CiviCRM Licensing Exception along | |
| 20 | | with this program; if not, contact CiviCRM LLC | |
| 21 | | at info[AT]civicrm[DOT]org. If you have questions about the | |
| 22 | | GNU Affero General Public License or the licensing of CiviCRM, | |
| 23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | |
| 24 | +--------------------------------------------------------------------+ |
| 25 | *} |
| 26 | |
| 27 | <div class="crm-block crm-form-block crm-campaign-survey-results-form-block"> |
| 28 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
| 29 | <table class="form-layout-compressed"> |
| 30 | <tr id='showoption'> |
| 31 | <td colspan="2"> |
| 32 | <table class="form-layout-compressed"> |
| 33 | {* Conditionally show table for setting up selection options - for field types = radio, checkbox or select *} |
| 34 | {include file="CRM/Campaign/Form/ResultOptions.tpl"} |
| 35 | </table> |
| 36 | </td> |
| 37 | </tr> |
| 38 | |
| 39 | {* Create Report *} |
| 40 | <tr id='showoption'> |
| 41 | <td colspan="2"> |
| 42 | <div id="new-group" class="crm-accordion-wrapper "> |
| 43 | <div class="crm-accordion-header"> |
| 44 | {ts}Create Report{/ts} |
| 45 | </div><!-- /.crm-accordion-header --> |
| 46 | <div class="crm-accordion-body"> |
| 47 | <table class="form-layout-compressed"> |
| 48 | <tr> |
| 49 | <td class="description label">{$form.create_report.label}</td> |
| 50 | <td>{$form.create_report.html}</td> |
| 51 | </tr> |
| 52 | <tr> |
| 53 | <td class="description label">{$form.report_title.label}</td> |
| 54 | <td>{$form.report_title.html|crmAddClass:big}</td> |
| 55 | </tr> |
| 56 | </table> |
| 57 | </div><!-- /.crm-accordion-body --> |
| 58 | </div><!-- /.crm-accordion-wrapper --> |
| 59 | </td> |
| 60 | </tr> |
| 61 | </table> |
| 62 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
| 63 | |