Commit a3a1d217 authored by Matthias Schiffer's avatar Matthias Schiffer

gluon-web-model, gluon-config-mode-theme: replace old gluon-map class, fix Form id

parent 9a732f30
......@@ -498,15 +498,15 @@ input.gluon-section-create-name {
margin-right: -0.25em;
}
div.gluon-map-descr {
div.gluon-form-descr {
margin-bottom: 1em;
}
.gluon-map-descr:empty, .gluon-section-descr:empty {
.gluon-form-descr:empty, .gluon-section-descr:empty {
display: none;
}
.gluon-map-descr, .gluon-section-descr, .gluon-page-actions {
.gluon-form-descr, .gluon-section-descr, .gluon-page-actions {
padding: 1em;
background: #ececec;
}
......
......@@ -2,9 +2,9 @@
<input type="hidden" name="token" value="<%=token%>" />
<input type="hidden" name="<%=id%>" value="1" />
<div class="gluon-map" id="gluon-<%=self.config%>">
<div class="gluon-form" id="form-<%=id%>">
<% if self.title and #self.title > 0 then %><h2 name="content"><%|self.title%></h2><% end %>
<% if self.description and #self.description > 0 then %><div class="gluon-map-descr"><%=self.description%></div><% end %>
<% if self.description and #self.description > 0 then %><div class="gluon-form-descr"><%=self.description%></div><% end %>
<% self:render_children(renderer) %>
</div>
<%- if self.message then %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment