Mercurial > zeropaste
annotate app/views/pastes/new.html.erb @ 265:6cca1ab53337
Infinitely better error messages and notice.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 16 Oct 2013 02:56:30 +0900 |
parents | d4682cea8e58 |
children | 7f1eac4a7fa9 |
rev | line source |
---|---|
26 | 1 <% provide :title, 'New Paste' %> |
190 | 2 |
265
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
3 <% if notice %> |
190 | 4 <div class="alert alert-info"> |
265
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
5 <%= notice %> |
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
6 </div> |
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
7 <% end %> |
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
8 |
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
9 <% if alert %> |
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
10 <div class="alert alert-danger"> |
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
11 <%= alert %> |
190 | 12 </div> |
13 <% end %> | |
14 | |
34 | 15 <div class="page-header"> |
16 <h1>New Paste</h1> | |
17 </div> | |
2 | 18 |
19 <%= render 'form' %> |