diff options
author | Filipp Lepalaan <f@230.to> | 2014-06-05 18:09:56 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2014-06-05 18:09:56 +0300 |
commit | 39bc2b230b5de771974e174b5b5bbb62b54e6015 (patch) | |
tree | 17acad819d7252091dfe4aae7e8d941b9e4b2590 /views | |
download | membrain-39bc2b230b5de771974e174b5b5bbb62b54e6015.tar.gz membrain-39bc2b230b5de771974e174b5b5bbb62b54e6015.tar.bz2 membrain-39bc2b230b5de771974e174b5b5bbb62b54e6015.zip |
Initial commit
Diffstat (limited to 'views')
-rw-r--r-- | views/form.erb | 7 | ||||
-rw-r--r-- | views/index.erb | 1 | ||||
-rw-r--r-- | views/layout.erb | 14 |
3 files changed, 22 insertions, 0 deletions
diff --git a/views/form.erb b/views/form.erb new file mode 100644 index 0000000..e8171b4 --- /dev/null +++ b/views/form.erb @@ -0,0 +1,7 @@ +<form action="" method="post"> + <div class="form-group"> + <label for="exampleInputEmail1">Name</label> + <input name="name" type="text" class="form-control" placeholder="Name"> + </div> + <button type="submit" class="btn btn-default">Submit</button> +</form> diff --git a/views/index.erb b/views/index.erb new file mode 100644 index 0000000..11ef5a6 --- /dev/null +++ b/views/index.erb @@ -0,0 +1 @@ +<a class="btn btn-default" href="add">Create</a> diff --git a/views/layout.erb b/views/layout.erb new file mode 100644 index 0000000..a4d059b --- /dev/null +++ b/views/layout.erb @@ -0,0 +1,14 @@ +<html> + <head> + <title></title> + <link rel="stylesheet" href="/css/bootstrap.min.css"> + <link rel="stylesheet" href="/css/bootstrap-theme.min.css"> + </head> + <body> + <div id="app"> + <%= yield %> + </div> + </body> + <script src="/js/jquery.min.js"></script> + <script src="/js/bootstrap.min.js"></script> +</html> |