Mercurial > zeropaste
annotate app/views/pastes/new.html.erb @ 357:a5447f6128d7
Update gems.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 05 Aug 2014 23:11:13 +0900 |
parents | 7f1eac4a7fa9 |
children | 2ad092e60975 |
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"> |
268 | 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 | 12 <strong>Error:</strong> |
265
6cca1ab53337
Infinitely better error messages and notice.
edogawaconan <me@myconan.net>
parents:
190
diff
changeset
|
13 <%= alert %> |
190 | 14 </div> |
15 <% end %> | |
16 | |
34 | 17 <div class="page-header"> |
18 <h1>New Paste</h1> | |
19 </div> | |
2 | 20 |
21 <%= render 'form' %> |