Added forms for artist and track retrieval on last.fm page
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user