Sha256: 9400a78f3e04f7c43d5dcf66d97345fcba6938925ab5db3251126d4d3482be47

Contents?: true

Size: 632 Bytes

Versions: 2

Compression:

Stored size: 632 Bytes

Contents

<% content_for :javascripts do %>
  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
  <%= javascript_include_tag 'jquery.min.js', 'utils.js', 'features/index.js' %>
  <script type="text/javascript" charset="utf-8">
    var features = <%= @features_json %>;
  </script>
<% end %>

<% content_for :stylesheets do %>
  <%= stylesheet_link_tag 'features/index.css' %>
<% end %>

<h1 id="features_list"><%= t('.title')%></h1>
<div id="features_map"></div>

<ul>
  <% @features.each do |feature| %>
    <li><%= link_to feature.title, feature_path(feature.cartodb_id) %></li>
  <% end %>
</ul>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cartoset-0.0.2 app/views/features/index.html.erb
cartoset-0.0.1 app/views/features/index.html.erb