====== Models ====== Add models to your app by using the +-glyph followed by the model descriptor. The base-form viewhelper expands the model to a form. The different model properties will be rendered with suitable form fields. :: %import components %inherit base !en: labels: title: 'Title' date: 'Date' bodytext: 'Bodytext' buttons: save: 'Save' !de: labels: title: 'Titel' date: 'Datum' bodytext: 'Haupttext' buttons: save: 'Speichern' +post: title: &label: !labels.title &type: 'str' date: &label: !labels.date &type: 'datetime' bodytext: &label: !labels.bodytext &type: 'str' *content: base-form model='post'