From dec7fcee1358b7ada6a0f05e00669302270c0c7c Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Tue, 21 Jul 2015 18:44:06 +0300 Subject: [PATCH] Update ident style #2776 --- app/views/registrar/contacts/form_partials/_general.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/registrar/contacts/form_partials/_general.haml b/app/views/registrar/contacts/form_partials/_general.haml index f2a7e9875..6c0e13448 100644 --- a/app/views/registrar/contacts/form_partials/_general.haml +++ b/app/views/registrar/contacts/form_partials/_general.haml @@ -32,7 +32,8 @@ = f.label :ident, t(:ident) + '*' .col-md-7 - if f.object.ident.present? - = f.object.ident + .disabled-value + = f.object.ident - else = f.text_field :ident, class: 'form-control', required: true, disabled: @contact.persisted? - tip_visibility = f.object.ident_type == 'birthday' ? '' : 'display: none'