web/app/views/imports/_imports_nav.html.erb
author Marcel Hlopko <marcel@hlopko.com>
Fri, 31 Oct 2014 17:50:24 +0100
changeset 249 d6e4f3690b6a
parent 93 be975ce27b80
permissions -rw-r--r--
Fix imports page, change json archive path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
67
b02c889c1fb8 imports page fixes
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
diff changeset
     1
<%= content_for :imports_navigation do %>
b02c889c1fb8 imports page fixes
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
diff changeset
     2
  <ul class="nav nav-tabs">
249
d6e4f3690b6a Fix imports page, change json archive path
Marcel Hlopko <marcel@hlopko.com>
parents: 93
diff changeset
     3
    <%= nav_tab("text",
d6e4f3690b6a Fix imports page, change json archive path
Marcel Hlopko <marcel@hlopko.com>
parents: 93
diff changeset
     4
                current_tab: current_tab,
67
b02c889c1fb8 imports page fixes
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
diff changeset
     5
                class: "special") { link_to("Text Import", new_text_imports_path) } %>
249
d6e4f3690b6a Fix imports page, change json archive path
Marcel Hlopko <marcel@hlopko.com>
parents: 93
diff changeset
     6
    <%= nav_tab("file",
d6e4f3690b6a Fix imports page, change json archive path
Marcel Hlopko <marcel@hlopko.com>
parents: 93
diff changeset
     7
                current_tab: current_tab,
67
b02c889c1fb8 imports page fixes
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
diff changeset
     8
                class: "special") { link_to("File Import", new_file_imports_path) } %>
249
d6e4f3690b6a Fix imports page, change json archive path
Marcel Hlopko <marcel@hlopko.com>
parents: 93
diff changeset
     9
    <%= nav_tab("post",
d6e4f3690b6a Fix imports page, change json archive path
Marcel Hlopko <marcel@hlopko.com>
parents: 93
diff changeset
    10
                current_tab: current_tab,
93
be975ce27b80 add new imports page, althrough blank
Marcel Hlopko <marcel.hlopko@gmail.com>
parents: 67
diff changeset
    11
                class: "special") { link_to("Post Import", new_post_imports_path) } %>
67
b02c889c1fb8 imports page fixes
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
diff changeset
    12
  </ul>
b02c889c1fb8 imports page fixes
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
diff changeset
    13
<% end %>