<div class="cbi-lvalue">
<div class="cbi-lvalue-title"><%=self.title%></div>
<div class="cbi-lvalue-field">
-<select name="<%=self.map.config.."."..self.section.."."..self.option%>">
+<select name="<%=self.config.."."..self.section.."."..self.option%>">
<%for k, v in self.list do%>
<option value="<%=k%>"><%=v%></option>
<% end %>
-<div class="cbi-nsection" id="cbi-<%=self.map.config%>-<%=self.sectiontype%>-<%=self.section%>">
+<div class="cbi-nsection" id="cbi-<%=self.config%>-<%=self.sectiontype%>-<%=self.section%>">
<h2><%=self.title%></h2>
<div class="cbi-nsection-descr"><%=self.description%></div>
<% for k, node in ipairs(self.children) do node:render() end %>
end
end
%>
-<div class="cbi-tsection" id="cbi-<%=self.map.config%>-<%=self.sectiontype%>">
+<div class="cbi-tsection" id="cbi-<%=self.config%>-<%=self.sectiontype%>">
<h2><%=self.title%></h2>
<div class="cbi-tsection-descr"><%=self.description%></div>
<% for k, v in pairs(sections) do %>
-<div class="cbi-tsection-node" id="cbi-<%=self.map.config%>-<%=k%>">
+<div class="cbi-tsection-node" id="cbi-<%=self.config%>-<%=k%>">
<% for k, node in ipairs(self.children) do
node.section = k
node:render(k)
<div class="cbi-value">
<div class="cbi-value-title"><%=self.title%></div>
<div class="cbi-value-field">
-<input type="text" name="<%=self.map.config.."."..self.section.."."..self.option%>" value="<%=self:ucivalue()%>" />
+<input type="text" name="<%=self.config.."."..self.section.."."..self.option%>" value="<%=self:ucivalue()%>" />
</div>
<div class="cbi-value-description"><%=self.description%></div>
</div>
\ No newline at end of file