Fix #102: Nie można zmienić domyślnych paneli.
[redakcja.git] / project / templates / explorer / editor.html
index 891366b..2aaf26e 100644 (file)
@@ -61,7 +61,7 @@
                     <p><label>{{n|capfirst}} panel:
                     <select name="select-{{n}}-panel" id="panel-{{n}}-select">
                         {% for panel_type in availble_panels %}
-                        <option value="{% url panel_view path=fileid,name=panel_type.id  %}">{{panel_type.display_name}}</option>
+                        <option value="{% url panel_view path=fileid,name=panel_type.id  %}" p:panel-name="{{ panel_type.id }}">{{panel_type.display_name}}</option>
                         {% endfor %}
                     </select>
                     </label>