Last active
February 17, 2020 22:57
-
-
Save mkezfarias/277ef9c5add682f5c335c5c44e857aff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%# This is the title, responsive for small screens and bigger screens %> | |
<h1 class= "h3 ml-3 my-5 text-light d-block d-md-none" > Select a topic to <br> start your call </h1> | |
<h1 class= "h3 ml-3 my-5 text-light d-md-block d-none" > Select a topic to start your call </h1> | |
<%# This is the list of the subjects that we got from the @subjects variable, and we are creating a table with all of them! %> | |
<%# All of the sessions will use the same room for now to keep it simpler %> | |
<ul cass="list-group list-group-flush bg-transparent"> | |
<% @subjects.each do |subject| %> | |
<li class = "list-group-item bg-transparent col-10 col-md-5 "> | |
<%= link_to subject.title, sessions_show_path(subject: subject), method: :post, class: "text-light h5" %> | |
<p class="text-warning mb-1"> Mentor: <%= subject.teacher %> </p> | |
</li> | |
<% end %> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment