Login
Sign Up For Free
English
中文 (繁體)
中文 (香港)
中文 (简体)
日本語
Filipino
Bahasa Indonesia
Bahasa Melayu
Pусский
Português (Brasil)
Magyar
Français
Español
Deutsch
Čeština
العربية
Català
Dansk
Ελληνικά
فارسی
Suomi
Gaeilge
Hindi
עברית
Hrvatski
Italiano
Norsk bokmål
Nederlands
한국어
Polski
Română
Slovenský
Svenska
Türkçe
українська
беларуская
ไทย
Standard view
mitsuhiko
shares
16 years ago
a cool way how to use Jinja2 macros to partially replace markup:
paste.pocoo.org/show/134...
mitsuhiko
16 years ago
if the request to the vote url comes from AJAX, the macro is rendered and sent back, otherwise a redirect to the page
mitsuhiko
16 years ago
the rest is jquery magic
立即下載
delete
reply
edit
cancel
cancel