summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/view/cbi/dvalue.htm
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/view/cbi/dvalue.htm')
-rw-r--r--src/ffluci/view/cbi/dvalue.htm12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ffluci/view/cbi/dvalue.htm b/src/ffluci/view/cbi/dvalue.htm
new file mode 100644
index 0000000000..178f2e16a1
--- /dev/null
+++ b/src/ffluci/view/cbi/dvalue.htm
@@ -0,0 +1,12 @@
+<%+cbi/valueheader%>
+<% if self.value then
+ if type(self.value) == "function" then %>
+ <%=self:value(section)%>
+<% else %>
+ <%=self.value%>
+<% end
+else %>
+ <%=(self:cfgvalue(section) or "")%>
+<% end %>
+&nbsp;
+<%+cbi/valuefooter%>