summaryrefslogtreecommitdiffhomepage
path: root/modules/base
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-08-12 10:42:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-08-12 10:42:14 +0000
commit5aa46cbf58932dd5e7a99639b6c3473b103bb4e0 (patch)
tree5483c3de0724972a3655634a8e542b7ce4f66d17 /modules/base
parent649227308f25b4b429ada6b0b7d10e9a908b9113 (diff)
add missing cbi-button class to nsection.htm
Hello, I opened an issue in trac but it doesn't let me attach the patch (it complains about cookies not enabled, which isn't true), and I cannot see it to try again since it's awaiting moderation (moderated submission #34250) so here's the patch (against 0.11, but I see that trunk has the same problem). Bye -- Luca
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/luasrc/view/cbi/nsection.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/luasrc/view/cbi/nsection.htm b/modules/base/luasrc/view/cbi/nsection.htm
index 95e7658822..32e73e748d 100644
--- a/modules/base/luasrc/view/cbi/nsection.htm
+++ b/modules/base/luasrc/view/cbi/nsection.htm
@@ -8,7 +8,7 @@
<%- end %>
<% if self.addremove then -%>
<div class="cbi-section-remove right">
- <input type="submit" name="cbi.rns.<%=self.config%>.<%=section%>" value="<%:Delete%>" />
+ <input type="submit" class="cbi-button" name="cbi.rns.<%=self.config%>.<%=section%>" value="<%:Delete%>" />
</div>
<%- end %>
<%+cbi/tabmenu%>
@@ -24,7 +24,7 @@
<legend><%=self.title%></legend>
<%- end %>
<div class="cbi-section-descr"><%=self.description%></div>
- <input type="submit" class="cbi-button-add" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:Add%>" />
+ <input type="submit" class="cbi-button cbi-button-add" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:Add%>" />
</fieldset>
<%- end %>
<% end %>