<%= @medical_history.available_days %> días disponibles para entrenar

<% if !@plan.cardio.blank? %>

Ejercicio Cardiovascular

<%= @plan.cardio.try(:html_safe) %>
<% end %> <% count = 0 %> <% @plan.routines.order(number: :asc).each_slice(2).each do |group| %>
<% group.each do |routine| %> <% count += 1 %>

<%= "Día #{count}: #{routine.title.downcase.titleize}" %>

<% if @plan.rer_level > 0 %><% end %> <% routine.routine_workouts.order(group_by_series: :asc).each do |rw| %> <% if rw.workout %> <% if @plan.rer_level > 0 %><% end %> <% end %> <% end %>
G Ejercicio S RRER
<%= rw.group_by_series %> <%= rw.workout.name %> <% if !rw.notes.blank? %> <%= rw.notes %><% end %> <%= rw.series %> <%= rw.repetitions %><%= rw.rer(@plan.rer_level) %>
<% end %>
<% end %>