This commit is contained in:
Martin Müller 2014-05-07 19:19:52 +02:00
parent 1b61cb2aab
commit f019d2b994
2 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<?php
echo $this->Html->charset();
echo $this->Html->css(array('bootstrap.min','bootstrap-wysihtml5','dreamjob'));
echo $this->Html->css(array('bootstrap.min','bootstrap-wysihtml5','select2','select2-bootstrap','dreamjob'));
echo $this->Html->meta('icon', $this->Html->url('/favicon.ico'));
?>
</head>
@ -125,7 +125,7 @@
</div>
<!-- java script -->
<?php
echo $this->Html->script(array('jquery.min', 'bootstrap.min', 'jquery-ui','bootstrap-wysihtml5', 'dreamjob'));
echo $this->Html->script(array('jquery.min', 'bootstrap.min', 'jquery-ui','bootstrap-wysihtml5','select2.min','select2_locale_de','dreamjob'));
?>
<!-- extraScript -->
<?php

View File

@ -41,6 +41,9 @@
$("#alert .alert").alert();
$(where+' textarea').wysihtml5();
$(where+' select').each(function(){
$(this).select2({allowClear: true});
});
$(where+' .dropdown-toggle').dropdown();
$(where+" a").each(function(that){