Mercurial > zeropaste
annotate app/views/pastes/new.html.erb @ 382:8ceb373e32d8
Nuke out javascripts =]
Will bring some back later.
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 07 Jun 2015 02:56:01 +0900 |
parents | 2ad092e60975 |
children | 62fef621f39c |
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 | |
2 | 17 <%= render 'form' %> |