Mercurial > zeropaste
annotate app/views/pastes/create.txt.erb @ 179:b1aa7865bc7f
Added paste id data to markup.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Fri, 01 Feb 2013 22:37:06 +0700 |
parents | d310a716207b |
children | dd5a154c17c7 |
rev | line source |
---|---|
67
f7b7a39fb48c
Allow post in txt format pt. 2 (view and controller).
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
1 <% unless @paste.errors.any? %> |
177
d310a716207b
Added paste key information for txt paste.
Edho Arief <edho@myconan.net>
parents:
67
diff
changeset
|
2 <%= paste_path @paste, :only_path => false %> (key: <%= @paste.key %>) |
67
f7b7a39fb48c
Allow post in txt format pt. 2 (view and controller).
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
3 <% else %> |
f7b7a39fb48c
Allow post in txt format pt. 2 (view and controller).
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
4 Failed |
f7b7a39fb48c
Allow post in txt format pt. 2 (view and controller).
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
5 <% end %> |