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