Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Description: The function is a loop to indentify a patient name by user_id and make a list of all
- the patients with a link directing the portal to the all models information in one page.
- ```
- <ul>
- <% @patient_infos.each do |patient_info| %>
- <a href="/admin/<%= patient_info.user_id %>" >
- <li>
- <strong> <%= patient_info.name%></strong>
- </li></a>
- <% end %>
- </ul>
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement