summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/view/cbi/fvalue.htm
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/view/cbi/fvalue.htm')
-rw-r--r--src/ffluci/view/cbi/fvalue.htm10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ffluci/view/cbi/fvalue.htm b/src/ffluci/view/cbi/fvalue.htm
new file mode 100644
index 000000000..8c8a2dfba
--- /dev/null
+++ b/src/ffluci/view/cbi/fvalue.htm
@@ -0,0 +1,10 @@
+ <div class="cbi-value">
+ <div class="left">
+ <div class="cbi-value-title"><%=self.title%></div>
+ <div class="cbi-value-description"><%=self.description%></div>
+ </div>
+ <div class="cbi-value-field">
+ <input type="checkbox" name="cbid.<%=self.config.."."..section.."."..self.option%>"<% if self:ucivalue(section) == self.enabled then %> checked="checked"<% end %> value="1" />
+ </div>
+ <div class="clear"></div>
+ </div> \ No newline at end of file