mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Use native <a /> element to create a mailto link
- Nothing special done by helper method `mail_to` so using a native <a /> element (and it's correctly escaped)
This commit is contained in:
@@ -74,7 +74,8 @@
|
||||
%span.state{'ng-class' => 'order.shipment_state', 'ng-if' => 'order.shipment_state'}
|
||||
{{'js.admin.orders.shipment_states.' + order.shipment_state | t}}
|
||||
%td
|
||||
= mail_to "{{order.email}}"
|
||||
%a{ ng: { href: "mailto:{{order.email}}" } }
|
||||
{{order.email}}
|
||||
%br
|
||||
{{order.full_name}}
|
||||
%td.align-center
|
||||
|
||||
Reference in New Issue
Block a user