view app/views/pastes/new.html.erb @ 257:2d5c09a73958

Rely on implicit to_param.
author edogawaconan <me@myconan.net>
date Tue, 15 Oct 2013 18:02:25 +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' %>