Blame view
client/helpers/template/forms.js
237 Bytes
5cb01249d
|
1 2 3 4 5 6 7 |
Template.registerHelper( 'selected', ( valueOne, valueTwo ) => { return valueOne === valueTwo ? 'selected' : ''; }); Template.registerHelper( 'checked', ( valueOne, valueTwo ) => { return valueOne === valueTwo ? 'checked' : ''; }); |