summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/view/cbi/valuefooter.htm
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/view/cbi/valuefooter.htm')
-rw-r--r--src/ffluci/view/cbi/valuefooter.htm8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ffluci/view/cbi/valuefooter.htm b/src/ffluci/view/cbi/valuefooter.htm
new file mode 100644
index 000000000..3f92f09e2
--- /dev/null
+++ b/src/ffluci/view/cbi/valuefooter.htm
@@ -0,0 +1,8 @@
+ <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 %> \ No newline at end of file