Add size, extra link fields to product view template
This commit is contained in:
parent
09c1c49c0e
commit
c275071499
|
@ -12,7 +12,6 @@
|
|||
}
|
||||
#product-image {
|
||||
float: left;
|
||||
margin-left: 300px;
|
||||
}
|
||||
.panel-wrapper {
|
||||
float: left;
|
||||
|
@ -29,6 +28,8 @@
|
|||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="render_link_fields(form)"></%def>
|
||||
|
||||
<%def name="render_organization_fields(form)">
|
||||
${render_field_readonly(form.fieldset.department)}
|
||||
${render_field_readonly(form.fieldset.subdepartment)}
|
||||
|
@ -70,10 +71,11 @@
|
|||
${render_field_readonly(form.fieldset.upc)}
|
||||
${render_field_readonly(form.fieldset.brand)}
|
||||
${render_field_readonly(form.fieldset.description)}
|
||||
${render_field_readonly(form.fieldset.size)}
|
||||
${render_field_readonly(form.fieldset.unit_size)}
|
||||
${render_field_readonly(form.fieldset.unit_of_measure)}
|
||||
${render_field_readonly(form.fieldset.size)}
|
||||
${render_field_readonly(form.fieldset.case_pack)}
|
||||
${self.render_link_fields(form)}
|
||||
</div>
|
||||
% if image_url:
|
||||
${h.image(image_url, "Product Image", id='product-image', path=image_path, use_pil=False)}
|
||||
|
|
Loading…
Reference in a new issue