Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 876 Bytes
!!!
%head
%title= t(:'layout.title')
%link(rel="stylesheet" type="text/css" href="/css/bootstrap.min.css")
%script(type="text/javascript" src="/js/jquery-1.9.1.min.js")
%script(type="text/javascript" src="/js/string.min.js")
%script(type="text/javascript" src="/js/bootstrap.min.js")
%script(type="text/javascript" src="/js/jquery.uploadifive.min.js")
%body
= haml :header
= yield
:javascript
$(function() {
$('#file').uploadifive({
'uploadScript' : '/isos',
'buttonClass' : 'btn',
'fileObjName' : 'file',
'buttonText' : '#{t(:'isos.form.select_files')}',
onQueueComplete: function() {
location.reload();
}
});
$('[data-entity-name]').on('keypress', function(e) {
var $this = $(this);
$this.val(S($this.val()).toLowerCase().dasherize().s);
});
});
Jump to Line
Something went wrong with that request. Please try again.