Added forms for artist and track retrieval on last.fm page

This commit is contained in:
Sahat Yalkabov
2013-12-09 21:20:41 -05:00
parent 32ef20a04d
commit e8f2a6688b
2 changed files with 73 additions and 11 deletions

View File

@@ -16,4 +16,35 @@ block content
i.fa.fa-file-text-o
| Documentation
p last.fm api
h3.text-primary Artist Information
form.form-horizontal(role='form', method='POST')
.form-group
label(class='col-sm-2 control-label', for='artist') Artist
.col-sm-4
input.form-control(type='text', name='artist', id='artist')
.form-group
.col-sm-offset-2.col-sm-4
button.btn.btn-primary-outline(type='submit') Submit
.panel.panel-default
.panel-heading
h3.title #{artist.name}
.panel-body
.row
.col-xs-3
img(src='#{artist.image}')
.col-xs-9
strong Artist Bio
br
p= artist.bio
h3.text-primary Song Information
form.form-horizontal(role='form', method='POST')
.form-group
label(class='col-sm-2 control-label', for='artist') Song
.col-sm-4
input.form-control(type='text', name='artist', id='artist')
.form-group
.col-sm-offset-2.col-sm-4
button.btn.btn-primary-outline(type='submit') Submit