% reminders.each_with_index do |reminder, index| %>
<% if reminder.value_type == 'RepositoryStockValue' %>
<%= render partial: 'shared/reminder/stock_reminder', locals: { reminder: reminder } %>
<% elsif reminder.value_type == 'RepositoryDateTimeValueBase' %>
<%= render partial: 'shared/reminder/date_reminder', locals: { reminder: reminder } %>
<% end %>
<%if index + 1 < reminders.length %>
<%end%>
<% end %>