(Meteor) Customizing field layout in useraccounts:semantic-ui with the use of aldeed:template-extension
September 13, 2015 ยท View on GitHub
// Adding some simplistic fields AccountsTemplates.addFields([ { _id: "address", type: "text",
// Options object with custom properties for my layout
options: {
// Put a divider before this field
dividerBefore: true
}
},
{ _id: "zipcode", type: "text",
options: {
// Make this field the first in a row of fields
startRow: true
}
},
{ _id: "city", type: "text",
options: {
// End the row with this field
endRow: true
}
} ]);