Skip to content
Advertisement

Button inside jade table cell

I want to add a button to shown in each row of the table, But the button does not appear cant figure out why. I’m new to jade and node js

Jade file

JavaScript

Advertisement

Answer

you are not indenting your th’s correctly (they need to be indented relative to the tr that they are in) and you need to include an empty one (or set a colspan = 2″on the last th) to accommodate the td that the edit button requires)

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement