view app/views/pastes/new.html.erb @ 204:c054f01477c4

Use shorter name for the hash magic thing
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 01:16:30 +0900
parents d4682cea8e58
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' %>