annotate app/views/pastes/new.html.erb @ 264:fa4a1ba990ae

Simplified pastes#show view.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 02:19:36 +0900
parents d4682cea8e58
children 6cca1ab53337
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
a8b0775798c3 Added title.
Edho Arief <edho@myconan.net>
parents: 25
diff changeset
1 <% provide :title, 'New Paste' %>
190
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
2
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
3 <% if flash[:notice] %>
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
4 <div class="alert alert-info">
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
5 <%= flash[:notice] %>
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
6 </div>
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
7 <% end %>
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
8
34
b1a816ff0d91 Better header (?).
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
9 <div class="page-header">
b1a816ff0d91 Better header (?).
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
10 <h1>New Paste</h1>
b1a816ff0d91 Better header (?).
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
11 </div>
2
42de15334db1 Added the pastes.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12
42de15334db1 Added the pastes.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 <%= render 'form' %>