Sha256: 7128cd8320baf2c815955c43ce3b6c1e635b91dbc531061d41461e6204b8bae2

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 Bytes

Contents

<div id="container-main" class="mg-records">
	<h1><% if @goal %><%=h @goal.name %><% else %>Comprehensive<% end %> Records</h1>
	<div class="container-content">
		<div class="recent-record" data-reload="true" data-record-id="<%= @records.count > 0 ? @records.first.id : -1 %>" data-goal-id="<%= @goal ? @goal.id : '' %>"></div>
		<a class="button" href="javascript:void(0)" class="reload">Reload</a>
		
		<% if @records.count > 0 %>
			<ul class="record-list">
				<% @records.each do |record| %>
					<%= render 'record', :record => record %>
				<% end %>
			</ul>
		<% else %>
			<h3>No records yet...</h3>
		<% end %>
	</div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mountain-goat-1.0.3 lib/mountain-goat/views/mountain_goat/mg/records/index.html.erb
mountain-goat-1.0.2 lib/mountain-goat/views/mountain_goat/mg/records/index.html.erb