Improve form layout
This commit is contained in:
parent
50004d4ad6
commit
c955039306
3 changed files with 21 additions and 7 deletions
|
@ -16,17 +16,24 @@
|
|||
<h1><a href="/">match<span class="audio-lighten">.audio</span></a></h1>
|
||||
</header>
|
||||
<div class="container">
|
||||
|
||||
<div class="row share-form">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<%= error %>
|
||||
<form role="form" method="post" action="/search" class="form-inline">
|
||||
<div class="form-group form-group-lg">
|
||||
<input type="text" name="url" placeholder="Paste link here" class="form-control">
|
||||
</div>
|
||||
<input type="submit" class="btn btn-default btn-lg" value="Share Music">
|
||||
<% if (error.length > 0) { %>
|
||||
<p class="alert alert-danger"><%= error %></p>
|
||||
<% } %>
|
||||
|
||||
<form role="form" method="post" action="/search">
|
||||
<div class="input-group input-group-lg">
|
||||
<input type="text" name="url" placeholder="Paste link here" class="form-control">
|
||||
<span class="input-group-btn">
|
||||
<input type="submit" class="btn btn-default btn-lg" value="Share Music">
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<p>Make sharing music from subscription services better.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue