annotate app/views/pastes/new.html.erb @ 379:2ad092e60975

[mq]: new-design
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:35:12 +0900
parents 7f1eac4a7fa9
children 62fef621f39c
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
265
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
3 <% if notice %>
190
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
4 <div class="alert alert-info">
268
7f1eac4a7fa9 This one looks better.
edogawaconan <me@myconan.net>
parents: 265
diff changeset
5 <strong>Info:</strong>
265
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
6 <%= notice %>
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
7 </div>
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
8 <% end %>
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
9
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
10 <% if alert %>
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
11 <div class="alert alert-danger">
268
7f1eac4a7fa9 This one looks better.
edogawaconan <me@myconan.net>
parents: 265
diff changeset
12 <strong>Error:</strong>
265
6cca1ab53337 Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents: 190
diff changeset
13 <%= alert %>
190
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
14 </div>
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
15 <% end %>
d4682cea8e58 Fun with alerts.
Edho Arief <edho@myconan.net>
parents: 34
diff changeset
16
2
42de15334db1 Added the pastes.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17 <%= render 'form' %>