Skip to content

Instantly share code, notes, and snippets.

@ahmedeshaan
Last active August 29, 2015 14:13
Show Gist options
  • Save ahmedeshaan/66504bd09b036c904d0b to your computer and use it in GitHub Desktop.
Save ahmedeshaan/66504bd09b036c904d0b to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!--
@package gallery
@copyright Copyright (c)2013 Nicholas K. Dionysopoulos / AkeebaBackup.com
@license GNU General Public License version 2 or later
Items view form file
-->
<form validate="true" serverside_validate="true">
<fieldset name="basic_information"
label="COM_GALLERY_ITEMS_GROUP_BASIC"
>
<!-- <field name="gallery_category_id" type="model"
label="COM_CONTACTUS_ITEMS_FIELD_CONTACTUS_CATEGORY_ID"
translate="false"
model="GalleryModelCategories" apply_access="false"
key_field="gallery_category_id" value_field="title"
required="true"
/>
-->
<field name="title" type="text" label="Title" description="" required="true" class="input-xlarge" />
<field name="description" type="textarea" label="Description" description="" class="input-xlarge" />
<field name="image" type="media" label="Image" description="" required="true" />
<field name="enabled" type="list" label="JSTATUS"
labelclass="todo-label"
description="JFIELD_PUBLISHED_DESC" class="inputbox"
filter="intval" size="1" default="1"
>
<option value="1">JPUBLISHED</option>
<option value="0">JUNPUBLISHED</option>
</field>
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment