Growstuff/growstuff

View on GitHub
app/views/errors/422.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<nav id="header" class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
      <div class="navbar-header" style="float:none; text-align:center;">
        <a class="navbar-brand" id="brand" href="/" style="text-align:center; position:absolute">GrowStuff</a>
      </div>
    </div>
  </nav>

<html>
<head>
  <title>The change you wanted was rejected (422)</title>
  <style type="text/css">
    body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
    div.dialog {
      width: 25em;
      padding: 0 4em;
      margin: 4em auto 0;
      border: 1px solid #ccc;
      border-right-color: #999;
      border-bottom-color: #999;
    }
    h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
  </style>
</head>

<body>
  <!-- This file lives in public/422.html -->
  <div class="dialog">
    <h1>The change you wanted was rejected.</h1>
    <p>Maybe you tried to change something you didn't have access to.</p>
  </div>
</body>
</html>