Sha256: e17fb1208e94a69d9e55d3819f3dafa63d521ecf771100d937d47eed11b8b1d1

Contents?: true

Size: 921 Bytes

Versions: 1

Compression:

Stored size: 921 Bytes

Contents

<div id="container-main" class="mt-metric-variants">
	<div class="mountain-goat-panel cenetered">
		<h1>Listing Metric Variants</h1>
		
		<table>
		  <tr>
		    <th>Metric</th>
		    <th>Value</th>
		    <th>Opt1</th>
		    <th>Opt2</th>
		    <th>Served</th>
		    <th>Conversions</th>
		  </tr>
		
		<% @metric_variants.each do |metric_variant| %>
		  <tr>
		    <td><%=h metric_variant.metric_id %></td>
		    <td><%=h metric_variant.value %></td>
		    <td><%=h metric_variant.opt1 %></td>
		    <td><%=h metric_variant.opt2 %></td>
		    <td><%=h metric_variant.served %></td>
		    <td><%=h metric_variant.conversions %></td>
		    <td><a href="<%= mg_metric_variant_url metric_variant %>">Show</a></td>
		    <td><a href="<%= edit_mg_metric_variant_url metric_variant %>">Edit</a></td>
		  </tr>
		<% end %>
		</table>
		
		<br />
		
		<%= link_to 'New metric_variant', new_mg_metric_variant_url %>
	</div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mountain-goat-1.0.0 lib/mountain-goat/views/mountain_goat/mg/metric_variants/index.html.erb