</div>
</div>
- <div data-snippet-id='colmd' data-selector-vertical-children='.row'>
- <div class="oe_snippet_thumbnail">
- <img class="oe_snippet_thumbnail_img" src="/website/static/src/img/blocks/block_column.png"/>
- <span class="oe_snippet_thumbnail_title">Add Column</span>
- </div>
- <div class="oe_snippet_body col-md-4">
- <img class="img img-rounded img-responsive" src="/website/static/src/img/china_thumb.jpg"/>
- <h4 class="mt16">Feature</h4>
- <p>
- Delete the above image or replace it with a picture
- that illustrates your message. Click on the picture to
- change it's <em>rounded corner</em> style.
- </p>
- </div>
- </div>
-
</div>
<div id="snippet_feature" class="tab-pane fade">
return res
_columns = {
- 'name': fields.char('Title', required=True),
+ 'name': fields.char('Title', required=True, translate=True),
+ 'subtitle': fields.char('Subtitle', translate=True),
+ 'content_image': fields.binary('Background Image'),
'blog_id': fields.many2one(
'blog.blog', 'Blog',
required=True, ondelete='cascade',
'tag_ids': fields.many2many(
'blog.tag', string='Tags',
),
- 'content': fields.html('Content'),
+ 'content': fields.html('Content', translate=True),
'shortened_content': fields.function(
get_shortened_content,
type='html',