luci-base: Make default for FileUpload 'safe'
[project/luci.git] / modules / luci-base / luasrc / view / cbi / full_valueheader.htm
1 <div class="cbi-value<% if self.error and self.error[section] then %> cbi-value-error<% end %><% if self.last_child then %> cbi-value-last<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
2         <%- if self.title and #self.title > 0 then -%>
3         <label class="cbi-value-title"<%= attr("for", cbid) %>>
4         <%- if self.titleref then -%><a title="<%=self.titledesc or translate('Go to relevant configuration page')%>" class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
5                 <%-=self.title-%>
6         <%- if self.titleref then -%></a><%- end -%>
7         </label>
8                 <div class="cbi-value-field">
9         <%- end -%>