forms.js 237 Bytes edit raw blame history 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' : ''; });