diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-14 14:11:57 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-14 14:11:57 +0000 |
commit | 75f849ca583119e510ff41a2ff3579517ee10526 (patch) | |
tree | f02363b5bdd9cddd7d785ef64025af59d589709b /libs/web/luasrc/view/cbi/tblsection.htm | |
parent | a3b0db7d8666b578cb1576158b62fcf952b9236f (diff) |
libs/web: fix invalid html after r8224 - the whitespace trimming removed the space between the attributes
Diffstat (limited to 'libs/web/luasrc/view/cbi/tblsection.htm')
-rw-r--r-- | libs/web/luasrc/view/cbi/tblsection.htm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index 9b5637f0e5..c352cda0ca 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -95,12 +95,12 @@ end <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap"> <%- if self.extedit then -%> <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>" - <%- if type(self.extedit) == "string" then -%> - onclick="window.location='<%=self.extedit:format(section)%>'" - <%- elseif type(self.extedit) == "function" then -%> - onclick="window.location='<%=self:extedit(section)%>'" - <%- end -%> - alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> + <%- if type(self.extedit) == "string" then + %> onclick="window.location='<%=self.extedit:format(section)%>'" + <%- elseif type(self.extedit) == "function" then + %> onclick="window.location='<%=self:extedit(section)%>'" + <%- end + %> alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> <%- end; if self.addremove then %> <input class="cbi-button cbi-button-add" type="button" value="<%:Delete%>" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" style="text-align: center;background-image:url(<%=resource%>/cbi/remove.gif)" /> <%- end -%> |