This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Things will be here... Trust me! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location / { | |
root /path/to/laravel/public; | |
index index.php; | |
if (!-e $request_filename) | |
{ | |
rewrite ^/(.*)$ /index.php?/$1 last; | |
break; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
// Remove placeholders on focus | |
$("input, textarea").focus(function() { | |
var placeholder = $(this).attr('placeholder'); | |
if (placeholder !== '') { | |
$(this).attr('placeholder', ''); | |
$(this).attr('data-placeholder', placeholder); | |
} else { | |
$(this).attr('placeholder', placeholder); |
NewerOlder