styling again

This commit is contained in:
Josh
2018-06-01 14:20:40 -04:00
parent 45fb18e609
commit a9d5215d2b
6 changed files with 53 additions and 47 deletions

View File

@ -18,13 +18,15 @@
<h5 class="font-weight-normal ml-4 mt-3 text-primary"><%= @room.owner.name %> (Owner)</h5>
</div>
<div class="col-lg-6 col-md-4 col-sm-12">
<div class="input-group" style="height: 60px;">
<input type="text" id="name-input" class="form-control main-large" placeholder="Enter your name!"></input>
<span class="input-group-append">
<button class="btn btn-primary px-7 main-large">Join</button>
</span>
</div>
<%= form_for room_path, method: :post do |f| %>
<div class="input-group" style="height: 60px;">
<%= f.text_field :join_name, class: "form-control main-large", placeholder: "Enter your name!" %>
<span class="input-group-append">
<%= f.submit "Join", class: "btn btn-primary px-7 main-large" %>
</span>
</div>
<% end %>
</div>
</div>
</div>
</div>
</div>