diff --git a/app/views/domains/show.html.erb b/app/views/domains/show.html.erb index 492b698..ec738f4 100644 --- a/app/views/domains/show.html.erb +++ b/app/views/domains/show.html.erb @@ -1,31 +1,31 @@ - +
<% @domain.records.each do |record| %> <% end %>
Records Controls
<%= record.name %> IN <%= record.type %> <%= record.supports_prio? ? record.prio : '' %> <%= record.content %> <% if record.disabled? %> <%= link_to 'Enable', enable_domain_record_path(@domain, record), method: :put %> <% else %> <%= link_to 'Disable', disable_domain_record_path(@domain, record), method: :put %> <% end %> <%= link_to 'Edit', edit_domain_record_path(@domain, record) %> <%= link_to 'Remove', [@domain, record], method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Record', new_domain_record_path(@domain) %>

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2d72ed7..6330f7a 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,30 +1,30 @@ - Base + WebDNS <%= stylesheet_link_tag 'application', media: 'all' %> + <%= javascript_include_tag 'html5shiv.min' %> + <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> <%= render "shared/nav" %> -
+
<%= flash_messages %> <%= render "shared/breadcrumbs" %> <%= yield %>