[{block name="ordermanager_admin_requ_orderfield"}]
    <dl class="[{$blActionRestriction}]">
        [{include file="@d3ordermanager/admin/inc/d3ordermanager_activeswitch.tpl" oActionRequ=$oRequ blActionRestriction=$blActionRestriction readonly=$readonly}]
        <dd>
            [{if $oView->isEditMode()}]
                [{block name="ordermanager_admin_requ_orderfield_editor"}]
                    <label for="RequOrderFieldField">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_FIELD"}]</label>
                    <input id="RequOrderFieldField" class="editinput" type="text" size="30" maxlength="100" name="value[sOrderField_FieldName]" value="[{$edit->getValue('sOrderField_FieldName')}]" [{$readonly}] [{$blActionRestriction}]>
                    [{oxinputhelp ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_FIELD_DESC"}]<br>
                    [{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_VALUE"}] <br>

                    <input id="RequOrderFieldTypeContent" type="radio" style="margin-left: 30px;" name="value[sCheckOrderFieldType]" value="content" [{if $edit->getValue('sCheckOrderFieldType') == 'content' || $edit->getValue('sCheckOrderFieldType') == ''}]checked[{/if}] [{$readonly}] [{$blActionRestriction}]>
                    <label for="RequOrderFieldTypeContent">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_CONTENT"}]</label>
                    <label for="sOrderFieldValue" style="position: absolute; left: -2000px">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE"}]</label>
                    <input id="sOrderFieldValue" class="editinput" type="text" size="30" maxlength="100" name="value[sOrderField_FieldValue]" value="[{$edit->getValue('sOrderField_FieldValue')}]" [{$readonly}] [{$blActionRestriction}]>
                    [{oxinputhelp ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2_DESC"}]<br>

                    <input id="RequOrderFieldTypeNoContent" type="radio" style="margin-left: 30px;" name="value[sCheckOrderFieldType]" value="nocontent" [{if $edit->getValue('sCheckOrderFieldType') == 'nocontent'}]checked[{/if}] [{$readonly}] [{$blActionRestriction}]>
                    <label for="RequOrderFieldTypeNoContent">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_NOCONTENT"}]</label>
                    <label for="sOrderFieldNoValue" style="position: absolute; left: -2000px">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDNOVALUE"}]</label>
                    <input id="sOrderFieldNoValue" class="editinput" type="text" size="30" maxlength="100" name="value[sOrderField_FieldNoValue]" value="[{$edit->getValue('sOrderField_FieldNoValue')}]" [{$readonly}] [{$blActionRestriction}]>
                    [{oxinputhelp ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2_DESC"}]<br>

                    <input id="RequOrderFieldTypeEmpty" type="radio" style="margin-left: 30px;" name="value[sCheckOrderFieldType]" value="empty" [{if $edit->getValue('sCheckOrderFieldType') == 'empty'}]checked[{/if}] [{$readonly}] [{$blActionRestriction}]>
                    <label for="RequOrderFieldTypeEmpty">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_EMPTY"}]</label><br>

                    <input id="RequOrderFieldTypeNotEmpty" type="radio" style="margin-left: 30px;" name="value[sCheckOrderFieldType]" value="notempty" [{if $edit->getValue('sCheckOrderFieldType') == 'notempty'}]checked[{/if}] [{$readonly}] [{$blActionRestriction}]>
                    <label for="RequOrderFieldTypeNotEmpty">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_NOTEMPTY"}]</label>
                [{/block}]
            [{else}]
                [{block name="ordermanager_admin_requ_orderfield_viewer"}]
                    [{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_FIELD"}] [{$edit->getValue('sOrderField_FieldName')}]<br>
                    [{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_VALUE"}] <br>
                    [{if $edit->getValue('sCheckOrderFieldType') == 'content' || $edit->getValue('sCheckOrderFieldType') == ''}]
                        [{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_CONTENT"}] [{$edit->getValue('sOrderField_FieldValue')}]
                        [{oxinputhelp ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2_DESC"}]<br>
                    [{/if}]
                    [{if $edit->getValue('sCheckOrderFieldType') == 'nocontent'}]
                        [{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_NOCONTENT"}] [{$edit->getValue('sOrderField_FieldNoValue')}]
                        [{oxinputhelp ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2_DESC"}]<br>
                    [{/if}]
                    [{if $edit->getValue('sCheckOrderFieldType') == 'empty'}]
                        [{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_EMPTY"}]
                    [{/if}]
                    [{if $edit->getValue('sCheckOrderFieldType') == 'notempty'}]
                        [{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_NOTEMPTY"}]
                    [{/if}]
                [{/block}]
            [{/if}]
            [{oxinputhelp ident="D3_ORDERMANAGER_REQU_ORDERFIELD_DESC"}]
        </dd>
        <div class="spacer"></div>
    </dl>
[{/block}]