Fixes an issue in events online registration when additional profiles are removed the add another profile option was also being removed.
<span class='profile_bottom_link_remove'><a href="#"
class="crm-hover-button crm-button-rem-profile"><span
class="icon ui-icon-trash"></span>{ts}remove profile{/ts}</a></span>
- {if $smarty.foreach.profilePostIdName.last}
-
- <span class='profile_bottom_link'><a href="#" class="crm-hover-button crm-button-add-profile"><span
+
+ <span class='profile_bottom_link' {if !$smarty.foreach.profilePostIdName.last}style="display: none"{/if}><a href="#" class="crm-hover-button crm-button-add-profile"><span
class="icon ui-icon-plus"></span>{ts}add another profile (bottom of page){/ts}</a></span>
- {/if}
<br/><span class="profile-links"></span>
</td>
</tr>