~dylanmccall/harvest/gsoc-client-stuff

« back to all changes in this revision

Viewing changes to harvest/filters/filters.py

  • Committer: Dylan McCall
  • Date: 2010-07-04 00:31:49 UTC
  • Revision ID: dylanmccall@gmail.com-20100704003149-ept37lczfgl6ilmr
Implemented EditField editing in Javascript!

Less arbitrary (though less exciting) defaults in opportunities/filters.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
    
228
228
    def render_html_value(self, **kwargs):
229
229
        field_value = self.get_value()
230
 
        return '<input type="search" placeholder="(type here)" spellcheck="false" value="%s" />' % field_value
 
230
        return '<input type="text" placeholder="(type here)" spellcheck="false" value="%s" />' % field_value
231
231
 
232
232
 
233
233
class SetFilter(Filter): #abstract, extend in application