Created
April 15, 2016 20:48
-
-
Save ferdiunal/661b09bfbac58a6a7198ffa6cb06530d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 lang="tr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="author" content="Ferdi ÜNAL"> | |
| <meta name="_token" content="{!! csrf_token() !!}"> | |
| <title>Post</title> | |
| </head> | |
| <body> | |
| <form action="{!! action('PostController@index') !!}" onsubmit="return false;" id="createdForm"> | |
| <div class="form-group"> | |
| <input type="text" class="form-control" name="username"> | |
| </div> | |
| <div class="form-group"> | |
| <input type="text" class="form-control" name="password"> | |
| </div> | |
| <button class="btn btn-default" type="button" onclick="post.create('#createdForm');">Gönder</button> | |
| </form> | |
| <script src="http://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script> | |
| <script src="{!! url('post.js') !!}"></script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment