{ts}Email Preferences{/ts}
</div>
- <form method="post" action="{crmURL p='/civicrm/member-dashboard/communications'}">
- <div class="form-item">
- <label for="preferred_mail_format">Preferred Email Format</label>
- <select name="preferred_mail_format">
- {foreach from=$mailFormats item=format}
- <option
- {if $contact.preferred_mail_format eq $format}
- selected="selected"
- {/if}
- value="{$format}">
- {$format}
- </option>
- {/foreach}
- </select>
- <input type="submit" value="Save"/>
- </div>
- </form>
+ <div class="form-item">
+ <label for="preferred_mail_format">Preferred Email Format</label>
+ <select class="crm-select2" name="preferred_mail_format">
+ {foreach from=$mailFormats item=format}
+ <option
+ {if $contact.preferred_mail_format eq $format}
+ selected="selected"
+ {/if}
+ value="{$format}">
+ {$format}
+ </option>
+ {/foreach}
+ </select>
+ <input class="crm-form-submit default" type="submit" value="Save"/>
+ </div>
</div>
{include file="CRM/Memberdashboard/Page/DashboardElement.tpl"