Mercurial > zeropaste
annotate app/views/pastes/new.html.erb @ 291:d701cf49fa3b
Add rails scripts. To bin.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 16 Oct 2013 13:47:48 +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' %> |