% provide(:title, "Plan de Entrenamiento") %>
<%= render "user_pages/modals/routines" if @plan %>
<%= render "user_pages/nav" %>
<%= render "user_pages/messages" if @mensaje %>
<% render "user_pages/modals/trace", object: @trace_days if @trace_days %>
<%= @routines.count %> Sesiones
Tomar de
<% if current_user.sex.downcase.gsub(" ","") == "female" %>
2 a 3
<% else %>
3 a 4
<% end %>
litros de agua al día o cuando tenga sed, escucha a tu cuerpo
<%= @routine.description.try(:html_safe) %> ¿Tuviste una lesión? ¿Algún acontecimiento en tu entorno te dificulta seguir entrenando? Para tener acceso al programa de entrenamiento adaptado a tus necesidades y pensado para cumplir con tus objetivos. <%= link_to "Contrata un plan", "https://web.whatsapp.com/send/?phone=5215545848965&text=Hola,%20me%20gustaría%20contratar%20un%20plan&type=phone_number", title: "Contrata un plan", class: "change-page patient-link" %>Plan de Entrenamiento
<% if @plan %>
<% if @routines.count > 0 %>
<% (@routines.count).times do |idx| %>
<% end %>
Ejercicio Cardiovascular
Indicaciones
<%= "Día #{@day}: #{@routine.title}" %>
<% @routine.routine_workouts.order(group_by_series: :asc).each do |rw| %>
<% if rw.workout %>
G
Ejercicio
S
R
<% if @plan.rer_level > 0 %>RER <% end %>
Carga
<% end %>
<% end %>
<%= rw.group_by_series %>
data-id="<%= rw.workout.youtube_id %>" data-title="<%= rw.workout.name %>"<% end %>>
<% if rw.highlight == "highlight" %>
<% elsif rw.highlight == "approved" %>
<% end %>
<% if rw.workout.video_man.present? %>
<% end %>
<%= rw.workout.name %>
<% if !rw.notes.blank? %>
<%= rw.notes %><% end %>
<%= rw.series %>
<%= rw.repetitions %>
<% if @plan.rer_level > 0 %><%= rw.rer(@plan.rer_level) %> <% end %>
<% if !rw.charge.blank? %>
lb-system'><%= "#{(rw.charge.to_f*2.2).to_i}lb" %>
kg-system'><%= "#{rw.charge}kg" %>
<% end %>
Diario de Entrenamiento
Toma nota, a nosotros nos sirve saber eso, tomaremos en cuenta tus notas para tu siguiente plan.