div ul.uk-list
li <b>HTTP Method</b> : #{@method} li <b>URL</b> : #{@url}
h3 Result :
-
unless @result == false div.uk-grid.uk-text-small
div.uk-width-1-2 table.uk-table tr td.uk-width-2-10 i.uk-icon-file-o | <b>Body :</b> td.uk-width-8-10.uk-scrollable-text <pre><code>#{@result}</code></pre> div.uk-width-1-2 table.uk-table tr td.uk-width-2-10 i.uk-icon-dollar | <b>Return code :</b> td.uk-width-8-10 #{@result.code} tr td.uk-width-2-10 i.uk-icon-header | <b>Headers :</b> td.uk-width-8-10 ul - @result.headers.each do |hkey,value| li <i><b>#{hkey}:</b> #{value}</i>
-
else div.uk-alert.uk-alert-danger
| Can't excute this request