parent
0894d9ec29
commit
232cc249d4
11 changed files with 193 additions and 147 deletions
19
app/views/conference/_all_events.html.erb
Normal file
19
app/views/conference/_all_events.html.erb
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<h1 class="text-center">Program for <%= @conference.title %></h1>
|
||||
<% @conference.events.confirmed.each do |event| %>
|
||||
<div>
|
||||
<h3>
|
||||
<%= link_to event.title, conference_proposal_path(@conference.short_title, event.id) %>
|
||||
<br>
|
||||
<small>
|
||||
<%= event.subtitle %>
|
||||
</small>
|
||||
</h3>
|
||||
<h4>
|
||||
presented by <%= event.speaker_names %>
|
||||
</h4>
|
||||
<p>
|
||||
<%= truncate(event.abstract, :length => 400) -%>
|
||||
<%= link_to 'more', conference_proposal_path(@conference.short_title, event.id) if event.abstract.length > 400 %>
|
||||
</p>
|
||||
</div>
|
||||
<% end %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue