1 <div class=
"cbi-map" id=
"cbi-<%=self.config%>">
2 <% if self.title and #self.title
> 0 then %
><h2><a id=
"content" name=
"content"><%=self.title%
></a></h2><% end %
>
3 <% if self.description and #self.description
> 0 then %
><div class=
"cbi-map-descr"><%=self.description%
></div><% end %
>
5 <p class=
"alert-message danger">
6 <%: The configuration file could not be loaded due to the following error: %
><br />
7 <code><%=pcdata(self.error)%
></code>
10 <textarea name=
"cbi.source" style=
"width:100%; margin-bottom:1em" rows=
"<%=math.max(self.source:cmatch("\n
"), 10)%>"><%=pcdata(self.source)%
></textarea>
12 <p class=
"alert-message">
13 <%: Edit the raw configuration data above to fix any error and hit
"Save" to reload the page. %
>
16 <div class=
"cbi-page-actions">
17 <input class=
"cbi-button cbi-button-apply" type=
"submit" name=
"cbi.save" value=
"<%:Save%>" />