From 34fc7f9fd1a8fc73529093bfe4b44bcf9d8aa9cc Mon Sep 17 00:00:00 2001 From: Yohan Boniface <yb@enix.org> Date: Thu, 31 Jan 2013 23:25:37 +0100 Subject: [PATCH] Get rid of "options_" --- umap/templates/umap/styles_fieldset.html | 26 ++++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/umap/templates/umap/styles_fieldset.html b/umap/templates/umap/styles_fieldset.html index ebc5e96..f362653 100644 --- a/umap/templates/umap/styles_fieldset.html +++ b/umap/templates/umap/styles_fieldset.html @@ -2,7 +2,7 @@ <fieldset id="style_options"> <legend id="style_options_toggle">{% trans "Styles options" %}</legend> <label class="more_style_options"></label> - {% foundation_field form.options_color %} + {% foundation_field form.color %} {% if form.icon_class and form.pictogram %} <div class="formbox"> {{ form.icon_class }} @@ -11,22 +11,22 @@ </div> <small class="help-text">{% trans "Change marker shape and symbol." %}</small> {% endif %} - {% foundation_field form.options_weight %} - {% if form.options_stroke %} + {% foundation_field form.weight %} + {% if form.stroke %} <div class="formbox"> - <span>{{ form.options_stroke.label }}</span>{{ form.options_stroke }} + <span>{{ form.stroke.label }}</span>{{ form.stroke }} </div> - <small class="help-text">{{ form.options_stroke.help_text }}</small> + <small class="help-text">{{ form.stroke.help_text }}</small> {% endif %} - {% foundation_field form.options_smoothFactor %} - {% foundation_field form.options_opacity %} - {% if form.options_fill %} + {% foundation_field form.smoothFactor %} + {% foundation_field form.opacity %} + {% if form.fill %} <div class="formbox"> - <span>{{ form.options_fill.label }}</span>{{ form.options_fill }} + <span>{{ form.fill.label }}</span>{{ form.fill }} </div> - <small class="help-text">{{ form.options_fill.help_text }}</small> + <small class="help-text">{{ form.fill.help_text }}</small> {% endif %} - {% foundation_field form.options_fillOpacity %} - {% foundation_field form.options_fillColor %} - {% foundation_field form.options_dashArray %} + {% foundation_field form.fillOpacity %} + {% foundation_field form.fillColor %} + {% foundation_field form.dashArray %} </fieldset> \ No newline at end of file -- GitLab