<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>">
  <% @dashboard.metrics.each do |metric| %>
    <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>">
      <div style="postition: relative">
        <iframe src='/metrics/<%= metric[:name] %>/<%= metric[:date] || '*/*' %>?layout=bare&boxcolour=<%= metric[:boxcolour] %>&textcolour=<%= metric[:textcolour] %><%= metric[:visualisation].blank? ? '' : "&type=#{metric[:visualisation]}" %>'
                width='100%'
                height='100%'
                frameBorder='0'
                scrolling='no'>
        </iframe>
      </div>
    </li>
  <% end %>
</ul>

<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>">
  <% @dashboard.metrics.each do |metric| %>
    <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>">
      <div style="postition: relative">
        <iframe src='/metrics/<%= metric[:name] %>/<%= metric[:date] || '*/*' %>?layout=bare&boxcolour=<%= metric[:boxcolour] %>&textcolour=<%= metric[:textcolour] %>&title=<%= metric[:title] %><%= metric[:visualisation].blank? ? '' : "&type=#{metric[:visualisation]}" %>'
                width='100%'
                height='100%'
                frameBorder='0'
                scrolling='no'>
        </iframe>
      </div>
    </li>
  <% end %>
</ul>

Add title to metric url
Add title to metric url
