Skip to content

Instantly share code, notes, and snippets.

@Haguilar91
Created December 10, 2019 19:26
Show Gist options
  • Save Haguilar91/7295bccfc17c3b5e1f29b005239ac281 to your computer and use it in GitHub Desktop.
Save Haguilar91/7295bccfc17c3b5e1f29b005239ac281 to your computer and use it in GitHub Desktop.
<% if current_doctor %>
<!--Ficha va aqui-->
<div class="jumbotron">
<h1>Informacion de Paciente</h1>
<p>Edad: <%=@user.age%></p>
<p>Resumen del paciente: </p>
<p><%=@user.username%></p>
<p> Ingresar notas: </p>
<div class="container">
<%= form_with scope: @user, url: user_registration_path, local: true do |f| %>
<%= f.rich_text_area :body %>
<%= f.submit%>
<% end %>
</div>
</div>
<!--Ficha termina aqui-->
<%end%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment