internetee/registry

View on GitHub
app/views/admin/contacts/show.haml

Summary

Maintainability
Test Coverage
- content_for :actions do
  = link_to(t(:edit_statuses), edit_admin_contact_path(@contact), class: 'btn btn-primary')
= render 'shared/title', name: @contact.name

.row
  .col-md-6= render 'admin/contacts/partials/general'
  .col-md-6= render 'admin/contacts/partials/address'
.row
  .col-md-12= render 'admin/contacts/partials/statuses', contact: @contact
.row
  .col-md-12= render 'admin/contacts/partials/domains', contact: @contact

- if @contact.legal_documents.present?
  .row
    .col-md-12
      = render 'admin/domains/partials/legal_documents', legal_documents: @contact.legal_documents