diff options
Diffstat (limited to 'src/ffluci/view/cbi/value.htm')
-rw-r--r-- | src/ffluci/view/cbi/value.htm | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/ffluci/view/cbi/value.htm b/src/ffluci/view/cbi/value.htm index d027bb4489..b994790d27 100644 --- a/src/ffluci/view/cbi/value.htm +++ b/src/ffluci/view/cbi/value.htm @@ -1,12 +1,3 @@ - <div class="cbi-value clear" id="cbi-<%=self.config.."-"..section.."-"..self.option%>"> - <div class="cbi-value-title left"><%=self.title%></div> - <div class="cbi-value-field"> +<%+cbi/valueheader%> <input type="text" onchange="cbi_d_update(this.id)" <% if self.size then %>size="<%=self.size%>" <% end %><% if self.maxlength then %>maxlength="<%=self.maxlength%>" <% end %>name="cbid.<%=self.config.."."..section.."."..self.option%>" value="<%=(self:cfgvalue(section) or "")%>" /> - <div class="cbi-value-description inline"><%=self.description%></div> - </div> - <% if self.tag_invalid[section] then %><div class="cbi-error"><%:cbi_invalid Fehler: Ungültige Eingabe%></div><% end %> - </div> - <% if #self.deps > 0 then %><script type="text/javascript"> - <% for j, d in ipairs(self.deps) do %>cbi_d_add("cbi-<%=self.config.."-"..section.."-"..self.option%>", "cbid.<%=self.config.."."..section.."."..d.field%>", "<%=d.value%>"); - <% end %> - </script><% end %> +<%+cbi/valuefooter%> |