Sha256: 79c80e6c57624015f8c523f787e98defa9592469319caa2eb04949464dc74366

Contents?: true

Size: 1014 Bytes

Versions: 8

Compression:

Stored size: 1014 Bytes

Contents

<table border="1" id="choices_<%= @elt.id %>" class="choices">
	<caption><h2><%= @elt.subject %></h2></caption>
	<tr onclick="Element.remove(this.parentNode);return false;">
		<th><label class="con" title="-1">V</label></th>
		<th><label title="0">0</label></th>
		<th><label class="pro" title="+1">Λ</label></th>
		<th style="border: none"><a href="#" class="closeChoices">X</a></th>
	</tr>
	<tr>
		<% (-1..1).each { |n| %>
			<td>
				<% @elt.choices.select{ |c| c.value == n }.reverse.each { |c| %>
					<div class="personalChoice" title="<%= c.created_on.strftime('%d/%m %H:%M') %>">
						<span class="created_on"><%= c.created_on.strftime('%d/%m %H:%M') %></span>
						<% if c.person %>
							<span class="author">
								&lt;<%= link_to c.person.name, :controller => 'person',
									:action => 'show', :id => c.person %>&gt;
							</span>
						<% else %>
							<span class="author">&lt;<%= ANONYMOUS_POSTER %>&gt;</span>
						<% end %>
					</div>
				<% } %>
			</td>
		<% } %>
	</tr>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
parlement-0.10 app/views/elt/choices.rhtml
parlement-0.12 app/views/elt/choices.rhtml
parlement-0.13 app/views/elt/choices.rhtml
parlement-0.11 app/views/elt/choices.rhtml
parlement-0.9 app/views/elt/choices.rhtml
parlement-0.6 app/views/elt/choices.rhtml
parlement-0.7 app/views/elt/choices.rhtml
parlement-0.8 app/views/elt/choices.rhtml