view app/views/pastes/new.html.erb @ 346:d08135e07f6c

coffee: boot.
author edogawaconan <me@myconan.net>
date Thu, 03 Jul 2014 14:51:15 +0900
parents 7f1eac4a7fa9
children 2ad092e60975
line wrap: on
line source

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

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

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

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

<%= render 'form' %>