Replace splitcontent* usages with Foundation grid

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/6827/head
Alex Coles 10 years ago
parent a4818b49cf
commit 9d36a20926
  1. 13
      app/views/meetings/show.html.erb

@ -34,18 +34,25 @@ See doc/COPYRIGHT.md for more details.
</div>
<div class="meeting details box">
<div class="grid-block wrap">
<div class="grid-content small-12">
<%= avatar(@meeting.author, :size => "64") %>
<p class="author"><%= authoring @meeting.created_at, @meeting.author %></p>
<div class="splitcontentleft">
</div>
<div class="grid-content small-6">
<p><strong><%= Meeting.human_attribute_name(:start_time) %></strong>: <%= format_date @meeting.start_date %> <%= format_time @meeting.start_time, false %> - <%= format_time @meeting.end_time, false %> <%= Time.zone %></p>
</div>
<div class="splitcontentright">
<div class="grid-content small-6">
<p><strong><%= Meeting.human_attribute_name(:location) %></strong>: <%=h @meeting.location %></p>
</div>
<div style="clear:both;"> </div>
<div class="grid-content small-12">
<p><strong><%= Meeting.human_attribute_name(:participants_invited) %></strong>: <%= format_participant_list @meeting.participants.invited %></p>
</div>
<div class="grid-content small-12">
<p><strong><%= Meeting.human_attribute_name(:participants_attended) %></strong>: <%= format_participant_list @meeting.participants.attended %></p>
</div>
</div>
</div>
<%= render_tabs [{:name => 'agenda', :action => :create_meeting_agendas, :partial => 'meeting_contents/show', :label => :label_meeting_agenda, :content => @meeting.agenda || @meeting.build_agenda, :content_type => "meeting_agenda"},
{:name => 'minutes', :action => :create_meeting_minutes, :partial => 'meeting_contents/show', :label => :label_meeting_minutes, :content => @meeting.minutes || @meeting.build_minutes, :content_type => "meeting_minutes"}] %>

Loading…
Cancel
Save