1a107601fa490ca69215facceebe3d0dc5e7f1f8 | 6bcef0037bdb2d139a15065c3f31e872bae79df3 | ||
---|---|---|---|
17 | ## the Original Code is CondeNet, Inc. | 17 | ## the Original Code is CondeNet, Inc. |
18 | ## | 18 | ## |
19 | ## All portions of the code written by CondeNet are Copyright (c) 2006-2008 | 19 | ## All portions of the code written by CondeNet are Copyright (c) 2006-2008 |
20 | ## CondeNet, Inc. All Rights Reserved. | 20 | ## CondeNet, Inc. All Rights Reserved." |
21 | ################################################################################ | 21 | ################################################################################ |
22 | 22 | ||
23 | <%! | 23 | <%! |
24 | from r2.lib.template_helpers import reddit_link, static | 24 | from r2.lib.template_helpers import add_sr, static |
25 | %> | 25 | %> |
26 | 26 | ||
27 | <form action="${reddit_link('/search', url=True)}" id="search"> | 27 | <form action="${add_sr('/search')}" id="search"> |
28 | <input type="text" | 28 | <input type="text" |
29 | %if thing.prev_search: | 29 | %if thing.prev_search: |
30 | value="${thing.prev_search}" style="color:black" | 30 | value="${thing.prev_search}" style="color:black" |