Sha256: 30887e220f9c7ef0736f43c9503e481a021c7423ea4e0d011bf342b7fe1bf15c
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
<% content_for :header do %> <div class="page-header main-p"> <div class="container"> <h1><i class="fa fa-commenting"></i> Teleconsultorias</h1> </div> </div> <% end %> <% if @teleconsultorias.size > 0 %> <table class="table table-bordered with-top-margin"> <thead> <tr> <th>ID</th> <th>Horário</th> <th>Assunto</th> <th>Paciente</th> <th>Status</th> <th></th> </tr> </thead> <% @teleconsultorias.each do |teleconsultoria| %> <tr> <td><%= teleconsultoria.id %></td> <td><%= teleconsultoria.created_at.strftime("%d/%m/%Y às %H:%M") %></td> <td><%= teleconsultoria.assunto %></td> <td><%= teleconsultoria.consulta.paciente.nome %></td> <td><%= teleconsultoria.situacao %></td> <td><%= link_to "Ver", paciente_consulta_path(paciente_id: teleconsultoria.consulta.paciente_id, id: teleconsultoria.consulta_id) %></td> </tr> <% end %> </table> <% else %> <p>Nenhuma teleconsultoria encontrada.</p> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-sabia-1.0.1 | app/views/teleconsultorias/index.html.erb |