Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1aa76163e5
Fetching contributors…

Cannot retrieve contributors at this time

file 70 lines (66 sloc) 2.701 kb
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 63 64 65 66 67 68 69 70
<!DOCTYPE html>
<html>
<head>
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
  <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="#">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'>
      <h3>
        <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>
      </h3>
      <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="footer">
    <div class="container">
      <p>Copyright 2009-2013 <a href="http://plataformatec.com.br">Plataformatec</a></p>
      <ul class="footer-links">
        <li><a href="http://blog.plataformatec.com.br">Plataformatec Blog</a></li>
        <li class="muted">·</li>
        <li><a href="https://github.com/plataformatec/simple_form">SimpleForm @ GitHub</a></li>
      </ul>
    </div>
  </footer>
  <%= javascript_include_tag "application" %>
</body>
</html>
Something went wrong with that request. Please try again.