view app/views/pastes/new.html.erb @ 190:d4682cea8e58

Fun with alerts.
author Edho Arief <edho@myconan.net>
date Sat, 23 Feb 2013 14:31:34 +0900
parents b1a816ff0d91
children 6cca1ab53337
line wrap: on
line source

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

<% if flash[:notice] %>
  <div class="alert alert-info">
    <%= flash[:notice] %>
  </div>
<% end %>

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

<%= render 'form' %>