Mercurial > zeropaste
annotate app/views/pastes/create.txt.erb @ 67:f7b7a39fb48c
Allow post in txt format pt. 2 (view and controller).
| author | Edho Arief <edho@myconan.net> | 
|---|---|
| date | Thu, 04 Oct 2012 10:20:58 +0700 | 
| parents | |
| children | d310a716207b | 
| 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? %> | 
| 
 
f7b7a39fb48c
Allow post in txt format pt. 2 (view and controller).
 
Edho Arief <edho@myconan.net> 
parents:  
diff
changeset
 | 
2 <%= paste_path @paste, :only_path => false %> | 
| 
 
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 %> | 
