announcement-test/app/views/announcements/_bulletin_carousels1.html.erb

13 lines
552 B
Plaintext

<style>
.carousel_image p{
text-align: center;
}
</style>
<div class="carousel_images">
<%data["bulletin_carousel_images"].each do |bulletin_carousel_image|%>
<div class="carousel_image col-sm-6">
<a href="<%=bulletin_carousel_image["src"]%>" title="<%=bulletin_carousel_image["description_text"]%>"><img src="<%=bulletin_carousel_image["src"]%>" alt="<%=bulletin_carousel_image["description_text"]%>"></a>
<p><strong class="carousel__description"><%=bulletin_carousel_image["description"]%></strong></p>
</div>
<% end %>
</div>