From 76208a4eeacf0535cf571405e77449dd1610f9d9 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Tue, 16 Jan 2018 09:51:09 +0200 Subject: [PATCH] Use standard header --- app/views/registrar/domains/index.html.erb | 18 +++++++++++++----- config/locales/registrar/domains.en.yml | 1 + 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/views/registrar/domains/index.html.erb b/app/views/registrar/domains/index.html.erb index 04ee4fb13..067191e60 100644 --- a/app/views/registrar/domains/index.html.erb +++ b/app/views/registrar/domains/index.html.erb @@ -1,8 +1,16 @@ -<% content_for :actions do %> - <%= link_to(t(:new), new_registrar_domain_path, class: 'btn btn-primary') %> - <%= link_to(t(:transfer), transfer_registrar_domains_path, class: 'btn btn-default') %> -<% end %> -<%= render 'shared/title', name: t(:domains) %> + +
<%= render 'search_form' %> diff --git a/config/locales/registrar/domains.en.yml b/config/locales/registrar/domains.en.yml index cc26f9bb8..b36369137 100644 --- a/config/locales/registrar/domains.en.yml +++ b/config/locales/registrar/domains.en.yml @@ -2,6 +2,7 @@ en: registrar: domains: index: + header: Domains registrant: Registrant csv: domain_name: Domain