OSDN Git Service

create provider
[pettanr/pettanr.git] / app / views / provider_sources / import.html.erb
1 <h1>Result Importing</h1>
2 <%= @results.size %>件の貸手文献をインポートしました。
3
4 <% @results.each do |url, result| %>
5   <h2>
6     <%= link_to h(url), url %>
7   </h2>
8   <% if result[:validations] %>
9     <%= render 'ok', :validations => result[:validations] %>
10   <% elsif result[:exception] %>
11     <%= render 'ng', :exception => result[:exception] %>
12   <% else %>
13     Undefined result
14   <% end %>
15 <% end %>