About as vanilla as it gets.
It is the last in a custom fields tag pair:
{if file}
{display_field}
{/if}
Here’s the tag:
{exp:safecracker site="trwadmin" channel="back_office" safecracker_head="yes" id="safecracker"
class="safecracker" return="back_office/addpost/ENTRY_ID" preserve_checkboxes="yes" entry_id="{segment_3}”}
Here’s the whole template:
{exp:safecracker site="trwadmin" channel="back_office" safecracker_head="yes" id="safecracker" class="safecracker" return="back_office/addpost/ENTRY_ID" preserve_checkboxes="yes" entry_id="{segment_3}”}
{if segment_3 != ""}
<h2 class=“maintitle”>{title}</h2>
{/if}
<label for=“title”>Title</label>
<input type=“text” name=“title” id=“title” value=”{title}” size=“50” maxlength=“100”>
<label for=“url_title”>URL Title</label>
<input type=“text” name=“url_title” id=“url_title” value=”{url_title}” maxlength=“75” size=“50” />
<label for=“entry_date”>Date</label>
<input type=“text” name=“entry_date” id=“entry_date” value=”{entry_date}” maxlength=“23” size=“25” />
{status_menu}
<label for=“status”>Status</label>
<select name=“status” id=“status”>
{select_options}
</select>
{/status_menu}
{custom_fields}
<label for=”{field_name}”>{if required}* {/if}{field_label}</label>
{if textarea}
<textarea id=”{field_name}” name=”{field_name}” dir=”{text_direction}” cols=“50”
rows=”{rows}”>{field_data} </textarea>
{/if}
{if pt_pill}
{display_field}
{/if}
{if radio}
{options}<label class=“checkbox”>{option_value}<label class=“checkbox”>
<input type=“radio” id=”{field_name}” name=”{field_name}” value=”{option_value}”{checked} /></label>{/options}
{/if}
{if text}
<input type=“text” dir=”{text_direction}” id=”{field_name}” name=”{field_name}” value=”{field_data}” maxlength=”{maxlength}” size=“50” />
{/if}
{if select}
<select id=”{field_name}” name=”{field_name}”>
{options}<option value=”{option_value}”{selected}>{option_name}</option>{/options}
</select>
{/if}
{if file}
{display_field}
{/if}
{/custom_fields}
Submit
<input type=“submit” name=“submit” value=“Submit” />
{/exp:safecracker}