Orbit/app/views/mobile/index.mobile.erb

19 lines
635 B
Plaintext
Raw Normal View History

2012-12-19 19:21:50 +00:00
<div class="slideshow">
<% @ad_banner.ad_images.each do |image| %>
<div class="slidebanner"><%= image_tag image.file.url, :class => 'slideImg' %></div>
<% end %>
</div>
<div class="newlist clear">
<% @bulletins.each do |bulletin| %>
<div class="newitem">
<div class="newpic">
<%= image_tag bulletin.image.url %>
</div>
<h3 class="newstitle">
<%= link_to bulletin.title, mobile_announcement_content_path(bulletin) %>
</h3>
<p class="newsDate"><%= display_date(bulletin.postdate) %></p>
<div class="newsummary"><%= bulletin.subtitle %></div>
</div>
<% end %>
</div>