24 lines
924 B
HTML
24 lines
924 B
HTML
<%#
|
|
LuCI - Lua Configuration Interface
|
|
Copyright 2008 Steven Barth <steven@midlink.org>
|
|
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
$Id$
|
|
|
|
-%>
|
|
|
|
<div class="cbi-value<% if self.error and self.error[section] then %> cbi-value-error<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
|
|
<%- if self.title and #self.title > 0 then -%>
|
|
<label class="cbi-value-title"<%= attr("for", cbid) %>>
|
|
<%- if self.titleref then -%><a title="<%=self.titledesc or translate('Go to relevant configuration page')%>" class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
|
|
<%-=self.title-%>
|
|
<%- if self.titleref then -%></a><%- end -%>
|
|
</label>
|
|
<div class="cbi-value-field">
|
|
<%- end -%>
|