aboutsummaryrefslogtreecommitdiff
path: root/app/views/uuid_resolver/new.html.erb
blob: 1cefbfc037d0645297501a45e78b08275e406fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h1>Resolving <%= @resolver.uuid %></h1>
<p>Found <%= pluralize(@resolver.count, "result") %>.</p>

<% if @resolver.count == 1 %>
    <%= render @resolver.record %>
<% elsif @resolver.count > 1 %>
    <% @resolver.records.each do |rec| %>
        <%= render rec %>
    <% end %>
<% end %>

<% content_for :debug do %>
    <%= h @resolver.records.inspect %>
<% end %>