From 778284c14b7970887ae9f185eccc9b58205328e6 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Mon, 21 Mar 2016 14:01:50 +0200 Subject: [PATCH] Story#105842700 - show titles in registrant's domain, contact and contact name --- app/views/registrant/contacts/partials/_general.haml | 3 +++ app/views/registrant/contacts/show.haml | 3 +-- app/views/registrant/domains/show.haml | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/registrant/contacts/partials/_general.haml b/app/views/registrant/contacts/partials/_general.haml index 131501232..114988bcc 100644 --- a/app/views/registrant/contacts/partials/_general.haml +++ b/app/views/registrant/contacts/partials/_general.haml @@ -6,6 +6,9 @@ %dt= t(:id) %dd= @contact.code + %dt= t(:name) + %dd= @contact.name + %dt= t(:password) %dd = text_field_tag :auth_info, @contact.auth_info, readonly: true, class: 'partially-hidden' diff --git a/app/views/registrant/contacts/show.haml b/app/views/registrant/contacts/show.haml index 57915e9ff..521a8d549 100644 --- a/app/views/registrant/contacts/show.haml +++ b/app/views/registrant/contacts/show.haml @@ -1,5 +1,4 @@ -- content_for :actions do - = render 'shared/title', name: @contact.name += render 'shared/title', name: @contact.name .row .col-md-6= render 'registrant/contacts/partials/general' diff --git a/app/views/registrant/domains/show.haml b/app/views/registrant/domains/show.haml index 746b1d8d5..4d524b785 100644 --- a/app/views/registrant/domains/show.haml +++ b/app/views/registrant/domains/show.haml @@ -1,5 +1,4 @@ -- content_for :actions do - = render 'shared/title', name: @domain.name += render 'shared/title', name: @domain.name .row .col-md-6= render 'registrant/domains/partials/general'