We can totally re-use it... the plot_field.html template made reference to
'options'


On Mon, Sep 9, 2013 at 1:52 PM, Justin Walgran <notifications@github.com>wrote:

> In opentreemap/treemap/templatetags/form_extras.py:
>
> >          context['field'] = {
> >              'label': label,
> >              'identifier': identifier,
> >              'value': field_value,
> >              'display_value': display_val,
> > -            'data_type': _field_type_to_string(model, field_name),
> > +            'data_type': datatype,
> > +            'options': options,
>
> Can we reuse field.choices rather than adding field.options or is there a
> reason they need to be separate?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/azavea/OTM2/pull/291/files#r6245076>
> .
>



-- 
Adam Hinz
Software Engineer, Azavea
hinz.adam@gmail.com | c: 608-445-8391 | Twitter: @ahinz