mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
28 lines
719 B
Text
28 lines
719 B
Text
<div class="page-header">
|
|
<div class="row">
|
|
<div class="col-sm-10">
|
|
<h1><%= t '.title' %></h1>
|
|
</div>
|
|
|
|
<div class="col-sm-2 text-right">
|
|
<%= link_to t('.new_btn'), new_admin_zone_path, class: 'btn btn-primary' %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<% if @zones.present? %>
|
|
<table class="table table-hover table-bordered table-wrapped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= DNS::Zone.human_attribute_name :origin %></th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<%= render @zones %>
|
|
</tbody>
|
|
</table>
|
|
<% else %>
|
|
<div class="alert alert-info"><%= t '.not_found' %></div>
|
|
<% end %>
|