/
application.html.erb
62 lines (59 loc) · 2.34 KB
/
application.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<title>Example application with SimpleForm and Twitter Bootstrap</title>
<%= stylesheet_link_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<header class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<a href="http://github.com/rafaelfranca/simple_form-bootstrap">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
</a>
<div class="container">
<a class="brand" href="#">Plataformatec SimpleForm + Twitter Bootstrap</a>
<ul class="nav">
<li><%= link_to "Home", root_path %></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle='dropdown'>
Articles
<b class='caret'></b>
</a>
<ul class="dropdown-menu">
<li><%= link_to "List all articles", articles_path %></li>
<li><%= link_to "New article", new_article_path %></li>
</ul>
</li>
</ul>
</div>
</div>
</header>
<div class="container master-container">
<ul class="breadcrumb">
<%= yield :breadcrumb %>
</ul>
<div class='alert alert-info fade in' data-alert='alert'>
<a class="close" data-dismiss='alert' href="#">×</a>
<p>
<strong>
<a href="https://github.com/plataformatec/simple_form">SimpleForm</a> 2.0 and <a href="http://twitter.github.com/bootstrap">Twitter Bootstrap</a> sample application.
</strong>
</p>
<p>Here you'll see the usage of <a href="https://github.com/plataformatec/simple_form">SimpleForm</a> and the <a href="http://twitter.github.com/bootstrap">Twitter Bootstrap</a> toolkit on a Rails 3.2 application.</p>
<p>You can check the source code on <a href='https://github.com/rafaelfranca/simple_form-bootstrap'>GitHub</a>.</p>
</div>
<% if notice %>
<div class="alert alert-success fade in" data-alert="alert">
<a class="close" data-dismiss='alert' href="#">×</a>
<p><%= notice %></p>
</div>
<% end %>
<%= yield %>
</div>
<footer class="container">
Copyright 2012 <a href="http://www.plataformatec.com.br">Plataformatec</a>
</footer>
<%= javascript_include_tag "application" %>
</body>
</html>