Improve registrant area

This commit is contained in:
Artur Beljajev 2018-08-03 22:35:53 +03:00
parent 43a70863cf
commit 638167e3cb
14 changed files with 119 additions and 80 deletions

View file

@ -5,6 +5,9 @@ en:
registrant: Registrant
admin_domain_contact: Administrative contact
tech_domain_contact: Technical contact
attributes:
contact:
code: EPP Code
errors:
models:
contact:

View file

@ -1,6 +1,8 @@
en:
registrant:
contacts:
contact_index: Contacts
show:
general:
header: General

View file

@ -8,12 +8,12 @@ en:
download_list:
registrant: Registrant
show:
admin_contacts: Administrative contacts
tech_contacts: Technical contacts
partials:
owner:
title: Registrant
admin_contacts:
title: Admin. contacts
tech_contacts:
title: Tech. contacts
registrant:
header: Registrant
view_details_btn: View details

View file

@ -113,8 +113,9 @@ Rails.application.routes.draw do
root 'domains#index'
resources :registrars, only: :show
resources :contacts, only: :show
resources :domains, only: %i[index show] do
resources :contacts, only: %i[show]
collection do
get :download_list
end