mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
.panel.panel-default
|
|
.panel-heading
|
|
%h3.panel-title= t(:general)
|
|
.panel-body
|
|
%dl.dl-horizontal
|
|
%dt.left_25= t(:id)
|
|
%dd.left_25= @contact.code
|
|
|
|
%dt.left_25= Contact.human_attribute_name :auth_info
|
|
%dd.left_25
|
|
= tag :input, type: 'text', value: @contact.auth_info, readonly: true,
|
|
class: 'form-control input-sm'
|
|
|
|
%br
|
|
|
|
%dt.left_25= t(:ident)
|
|
%dd.left_25= ident_for(@contact)
|
|
|
|
%dt.left_25= t(:email)
|
|
%dd.left_25= @contact.email
|
|
|
|
%dt.left_25= t(:phone)
|
|
%dd.left_25= @contact.phone
|
|
|
|
- if @contact.fax
|
|
%dt.left_25= t(:fax)
|
|
%dd.left_25= @contact.fax
|
|
|
|
%br
|
|
|
|
%dt.left_25= t('.created')
|
|
%dd.left_25
|
|
= l(@contact.created_at, format: :short)
|
|
by
|
|
= creator_link(@contact)
|
|
|
|
%dt.left_25= t('.updated')
|
|
%dd.left_25
|
|
= l(@contact.updated_at, format: :short)
|
|
by
|
|
= updator_link(@contact)
|
|
|
|
%dt.left_25= t(:registrar_name)
|
|
%dd.left_25
|
|
- if @contact.registrar.present?
|
|
= link_to(@contact.registrar, admin_registrar_path(@contact.registrar))
|