internetee/registry

View on GitHub
app/views/admin/domains/partials/_dnskeys.haml

Summary

Maintainability
Test Coverage
.panel.panel-default
  .panel-heading.clearfix
    = t(:dnskeys)
  .table-responsive
    %table.table.table-hover.table-bordered.table-condensed
      %thead
        %tr
          %th{class: 'col-xs-1'}= t(:flag)
          %th{class: 'col-xs-1'}= t(:protocol)
          %th{class: 'col-xs-1'}= t(:algorithm)
          %th{class: 'col-xs-9'}= t(:public_key)
      %tbody
        - @domain.dnskeys.each do |x|
          %tr
            %td= x.flags
            %td= x.protocol
            %td= x.alg
            %td= x.public_key