</div>
{else}
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
- <table class="form-layout-compressed">
+ <table class="form-layout-compressed">
{if $context eq 'standalone'}
<tr class="crm-grant-form-block-contact_id">
<td class="label">{$form.contact_id.label}</td>
+--------------------------------------------------------------------+
*}
{* Confirmation of Grant delete *}
-<div class="messages status no-popup">
- <p><div class="icon inform-icon"></div>
- {ts}Are you sure you want to delete the selected Grants? This delete operation cannot be undone and will delete all transactions associated with these grants.{/ts}</p>
- <p>{include file="CRM/Grant/Form/Task.tpl"}</p>
+<div class="crm-block crm-form-block crm-grant-task-delete-form-block">
+ <div class="messages status no-popup">
+ <div class="icon inform-icon"></div>
+ {ts}Are you sure you want to delete the selected Grants? This delete operation cannot be undone and will delete all transactions associated with these grants.{/ts}
+ <p>{include file="CRM/Grant/Form/Task.tpl"}</p>
+ </div>
+ <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
</div>
-<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
*}
{if $overlayProfile }
<table class="crm-table-group-summary">
-<tr><td>{$displayName}</td></tr>
-<tr><td>
-{assign var="count" value="0"}
-{assign var="totalRows" value=$row|@count}
-<div class="crm-summary-col-0">
-{foreach from=$profileFields item=field key=rowName}
- {if $count gt $totalRows/2}
- </div>
- </td><td>
- <div class="crm-summary-col-1">
- {assign var="count" value="1"}
- {/if}
- <div class="crm-section {$rowName}-section">
- <div class="label">
- {$field.label}
- </div>
- <div class="content">
- {$field.value}
- </div>
- <div class="clear"></div>
- </div>
- {assign var="count" value=`$count+1`}
-{/foreach}
-</div>
-</td></tr>
+ <tr>
+ <td colspan="2">{$displayName}</td>
+ </tr>
+ <tr>
+ <td>
+ {assign var="count" value="0"}
+ {assign var="totalRows" value=$row|@count}
+ <div class="crm-summary-col-0">
+ {foreach from=$profileFields item=field key=rowName}
+ {if $count gt $totalRows/2}
+ </div>
+ </td>
+ <td>
+ <div class="crm-summary-col-1">
+ {assign var="count" value="1"}
+ {/if}
+ <div class="crm-section {$rowName}-section">
+ <div class="label">
+ {$field.label}
+ </div>
+ <div class="content">
+ {$field.value}
+ </div>
+ <div class="clear"></div>
+ </div>
+ {assign var="count" value=`$count+1`}
+ {/foreach}
+ </div>
+ </td>
+ </tr>
</table>
{* fields array is not empty *}
{/if}