summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi/full_valueheader.htm
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2019-06-28 15:53:05 +0000
committerYousong Zhou <yszhou4tech@gmail.com>2019-07-06 22:48:10 +0800
commit609f5290c8d582def0a6334519f5e31aad19abde (patch)
tree9667c87aae5d03b968ec733f0932288f1b56d516 /modules/luci-base/luasrc/view/cbi/full_valueheader.htm
parentda10ceeb37183907e6563bf1b06e87e0b7532f58 (diff)
luci-base: nowrap for password input and reveal button
Fixes openwrt/luci#2624 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi/full_valueheader.htm')
-rw-r--r--modules/luci-base/luasrc/view/cbi/full_valueheader.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/full_valueheader.htm b/modules/luci-base/luasrc/view/cbi/full_valueheader.htm
index 10a554329f..1d9ebeba94 100644
--- a/modules/luci-base/luasrc/view/cbi/full_valueheader.htm
+++ b/modules/luci-base/luasrc/view/cbi/full_valueheader.htm
@@ -1,4 +1,4 @@
-<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%>" data-index="<%=self.index%>" data-depends="<%=pcdata(self:deplist2json(section))%>">
+<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 %><% if self.password then %> nowrap<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>" data-index="<%=self.index%>" data-depends="<%=pcdata(self:deplist2json(section))%>">
<%- if self.title and #self.title > 0 then -%>
<label class="cbi-value-title"<%= attr("for", cbid) %>>
<%- if self.titleref then -%><a title="<%=self.titledesc or translate('Go to relevant configuration page')%>" class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>