view app/views/pastes/new.html.erb @ 265:6cca1ab53337

Infinitely better error messages and notice.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 02:56:30 +0900
parents d4682cea8e58
children 7f1eac4a7fa9
line wrap: on
line source

<% provide :title, 'New Paste' %>

<% if notice %>
  <div class="alert alert-info">
    <%= notice %>
  </div>
<% end %>

<% if alert %>
  <div class="alert alert-danger">
    <%= alert %>
  </div>
<% end %>

<div class="page-header">
  <h1>New Paste</h1>
</div>

<%= render 'form' %>