<div class="crm-wci-button-wrapper" id="crm_wid_{$wciform.widgetId}_button">
<a href='{crmURL p="civicrm/contribute/transact" q="reset=1&id=$cpageId" h=0 a=1 fe=1}' class="crm-wci-button"><span class="crm-wci-button-inner" id="crm_wid_{$wciform.widgetId}_btn_txt">{$wciform.button_title}</span></a>
</div>
- {$wciform.embed}
+
{if $wciform.email_signup_group_id}
+ {if $embed eq 1 }
<form method="get" action="{$wciform.emailSignupGroupFormURL}" name="Subscribe">
- <p style="text-align:center;">
+ {/if}
+ <p style="text-align:center; margin: 0;">
+ Get the monthly newsletter
+ </p>
+ <p style="text-align:left;">email id:
<input type="text" id="frmEmail" name="email" size="10">
</p>
- <input id="mark_x_2" name="mark_x_2" type="hidden" value="1">
<p style="text-align: center; margin-top: 10px;">
- <input type="submit" name="_qf_Subscribe_next" value="Subscribe Me">
+ {if $embed eq 1 }
+ <input type="submit" name="_qf_Subscribe_next" value="Subscribe Me">
+ {else}
+ <input type="button" name="_qf_Subscribe_next" value="Subscribe Me">
+ {/if}
</p>
+ {if $embed eq 1 }
</form>
+ {/if}
{/if}
</div>