Last active
June 8, 2017 14:00
-
-
Save haroldofurtado/e07aa6a1f5bf14b6181e92ec3bd43f91 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Contabilidade Ortobom</title> | |
<%= csrf_meta_tags %> | |
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> | |
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> | |
<!-- | |
Adicionei esses caras aqui no meu HEAD. | |
--> | |
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
<link rel="stylesheet" href="/resources/demos/style.css"> | |
<script src="https://code.jquery.com/jquery-1.12.4.js"></script> | |
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> | |
<!-- | |
Esse cara abaixo, seria o código propriamente dito, mas o acima precisaria mesmo importar? | |
--> | |
<script> | |
$( function() { | |
$( "#datepicker" ).datepicker(); | |
} ); | |
</script> | |
<!-- | |
Final do bloco --> | |
</head> | |
<body> | |
<!-- | |
A tag foi essa que eu passei. | |
--> | |
<p>Date: <input type="text" id="datepicker"></p> | |
<%= yield %> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment