MakersNetwork/agenda-saude

View on GitHub
app/views/community/appointments/_home_can_schedule.html.erb

Summary

Maintainability
Test Coverage
<div class="jumbotron">
  <% if @appointments_count.positive? -%>
    <%= render "home_can_schedule_available_slot" %>
  <% else -%>
    <%= render "home_can_schedule_no_available_slot" %>
  <% end -%>

  <p class="mt-4"></p>

  <%= embedded_page :patient_can_schedule %>
</div>