OSDN Git Service

create provider
[pettanr/pettanr.git] / app / views / provider_sources / index.html.erb
diff --git a/app/views/provider_sources/index.html.erb b/app/views/provider_sources/index.html.erb
new file mode 100644 (file)
index 0000000..900b2e1
--- /dev/null
@@ -0,0 +1,15 @@
+<h1>Listing Provider Sources</h1>
+
+<table>
+  <tr>
+    <th>url</th>
+  </tr>
+  <% @urls.each do |url| %>
+    <tr>
+      <td><%= link_to h(url), url %></td>
+    </tr>
+  <% end %>
+</table>
+<%= form_tag({:controller => 'provider_sources',:action => "import"}, {:method => :post}) do %>
+  <%= submit_tag 'import' -%>
+<% end -%>