diff --git a/app/views/registrant/contacts/show/_domains.html.erb b/app/views/registrant/contacts/show/_domains.html.erb index a55aca786..67ec68022 100644 --- a/app/views/registrant/contacts/show/_domains.html.erb +++ b/app/views/registrant/contacts/show/_domains.html.erb @@ -46,7 +46,7 @@ <%= link_to(domain.name, [:registrant, domain]) %> <%= link_to(domain.registrar, [:registrant, domain.registrar]) %> - <%= l(domain.valid_to, format: :short) %> + <%= l domain.valid_to %> <%= domain.roles.join(", ") %> <% end %> diff --git a/app/views/registrant/contacts/show/_general.html.erb b/app/views/registrant/contacts/show/_general.html.erb index 33f467085..0ebf5da21 100644 --- a/app/views/registrant/contacts/show/_general.html.erb +++ b/app/views/registrant/contacts/show/_general.html.erb @@ -34,18 +34,10 @@ <% end %>
<%= Contact.human_attribute_name :created_at %>
-
- <%= l(@contact.created_at, format: :short) %> - by - <%= @contact.name %> -
+
<%= l @contact.created_at %> by <%= @contact.name %>
<%= Contact.human_attribute_name :updated_at %>
-
- <%= l(@contact.updated_at, format: :short) %> - by - <%= @contact.name %> -
+
<%= l @contact.updated_at %> by <%= @contact.name %>
<%= Registrar.model_name.human %>