Sha256: 88df9cdd5f1d89da2c21ff3ba81bce530e917b6938443a5d0afb41943a256404

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

<div id="container-main" class="mt-rallies">
	<div class="mountain-goat-panel">
		<h1>Rallies <% if @convert %>for <%=h @convert.name %><% else %>for all Goals<% end %></h1>
	
		<div class="recent-rally" data-reload="true" data-rally-id="<%= @rallies.count > 0 ? @rallies.first.id : -1 %>" data-convert-id="<%= @convert ? @convert.id : '' %>"></div>
		<a href="javascript:void(0)" class="reload">Reload</a>
		
		<% if @rallies.count > 0 %>
			<ul class="rally-list">
				<% @rallies.each do |rally| %>
					<%= render 'rally', :rally => rally %>
				<% end %>
			</ul>
		<% else %>
			<h2>No rallies for yet this goal.</h2>
		<% end %>
	</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/rallies/index.html.erb