mirror of
https://github.com/internetee/registry.git
synced 2025-08-08 02:35:10 +02:00
44 lines
938 B
Text
44 lines
938 B
Text
= render 'shared/title', name: @registrar.name
|
|
|
|
- if @registrar.errors.any?
|
|
- @registrar.errors.each do |attr, err|
|
|
= err
|
|
%br
|
|
- if @registrar.errors.any?
|
|
%hr
|
|
.row
|
|
.col-md-6
|
|
.panel.panel-default
|
|
.panel-heading
|
|
%h3.panel-title= t(:general)
|
|
.panel-body
|
|
%dl.dl-horizontal
|
|
%dt= t(:name)
|
|
%dd= @registrar.name
|
|
|
|
%dt= t(:reg_no)
|
|
%dd= @registrar.reg_no
|
|
|
|
%dt= t(:vat_no)
|
|
%dd= @registrar.vat_no
|
|
|
|
%dt= t(:id)
|
|
%dd= @registrar.code
|
|
|
|
.col-md-6
|
|
.panel.panel-default
|
|
.panel-heading
|
|
%h3.panel-title= t(:contact)
|
|
.panel-body
|
|
%dl.dl-horizontal
|
|
%dt= t(:country)
|
|
%dd= @registrar.country
|
|
|
|
%dt= t(:address)
|
|
%dd= @registrar.address
|
|
|
|
%dt= t(:contact_phone)
|
|
%dd= @registrar.phone
|
|
|
|
%dt= t(:contact_email)
|
|
%dd= @registrar.email
|