<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE form>
<form>
   <fieldset name="core" label="COM_ISSUETRACKER_ISSUE_DEFAULT_LEGEND" addfieldpath="/administrator/components/com_issuetracker/models/fields"
      addrulepath="/administrator/components/com_issuetracker/models/rules">

      <field name="id" type="hidden" filter="integer" />

      <field name="user_id" type="text" size="11" class="inputbox"
         label="COM_ISSUETRACKER_USER_ID" description="COM_ISSUETRACKER_FIELD_USERID_DESC"                 
         required="false"
         readonly="true"
         disabled="true"
         filter="integer" /> 

      <field name="person_name" type="text" size="60" class="inputbox"
         label="COM_ISSUETRACKER_PERSON_NAME" description="COM_ISSUETRACKER_FIELD_PERSON_NAME_DESC"                 
         required="false"
         readonly="true"
         disabled="true"
         maxlength="255"
         filter="safehtml" /> 

      <field name="username" type="text" size="60" class="inputbox"
         label="COM_ISSUETRACKER_USERNAME" description="COM_ISSUETRACKER_FIELD_USERNAME_DESC"                 
         required="false"
         readonly="true"
         disabled="true"
         maxlength="150"
         filter="safehtml" /> 

     <field name="phone_number" type="text" size="30" class="inputbox"
         label="COM_ISSUETRACKER_PHONENO" description="COM_ISSUETRACKER_FIELD_PHONENO_DESC"
         required="false"
         readonly="false"
         disabled="false"
         maxlength="30"
         validate="mobile" 
         filter="safehtml" />
 
      <field name="person_email" type="text" size="60" class="inputbox"
         label="COM_ISSUETRACKER_PERSON_EMAIL" description="COM_ISSUETRACKER_FIELD_PERSON_EMAIL_DESC"                 
         required="false"
         readonly="true"
         disabled="true"
         maxlength="100"
         filter="safehtml" />   

      <field name="assigned_project" type="issuetrackerprojectbe" size="60" class="inputbox"
         label="COM_ISSUETRACKER_ASSIGNED_PROJECT" description="COM_ISSUETRACKER_FIELD_ASSIGNED_PROJECT_DESC"                 
         required="false"
         readonly="false"
         maxlength="240"
         filter="safehtml" /> 

      <field name="person_role" type="issuetrackerrole" size="60" class="inputbox"
         label="COM_ISSUETRACKER_PERSON_ROLE" description="COM_ISSUETRACKER_FIELD_PERSON_ROLE_DESC"                 
         required="true"
         readonly="false"
         maxlength="60"
         filter="safehtml" /> 

      <field name="issues_admin" type="radio"
         label="COM_ISSUETRACKER_ISSUES_ADMIN"
         description="COM_ISSUETRACKER_FIELD_ISSUES_ADMIN_DESC"
         class="btn-group"
         size="1"
         default="1">
         <option value="1">JYES</option>
         <option value="0">JNO</option>
      </field> 

      <field name="staff" type="radio"
         label="COM_ISSUETRACKER_ISSUES_STAFF"
         description="COM_ISSUETRACKER_FIELD_ISSUES_STAFF_DESC"
         class="btn-group"
         size="1"
         default="1">
         <option value="1">JYES</option>
         <option value="0">JNO</option>
      </field> 

      <field name="email_notifications" type="radio"
         label="COM_ISSUETRACKER_EMAIL_NOTIFICATIONS"
         description="COM_ISSUETRACKER_EMAIL_NOTIFICATIONS_DESC"
         class="btn-group"
         size="1"
         default="1">
         <option value="1">JYES</option>
         <option value="0">JNO</option>
      </field> 

      <field name="sms_notify" type="radio"
         label="COM_ISSUETRACKER_SMS_NOTIFICATIONS"
         description="COM_ISSUETRACKER_SMS_NOTIFICATIONS_DESC"
         class="btn-group"
         size="1"
         default="1">
         <option value="1">JYES</option>
         <option value="0">JNO</option>
      </field>
      
      <field name="registered" type="hidden"
         label="COM_ISSUETRACKER_REGISTERED"
         description="COM_ISSUETRACKER_REGISTERED_DESC"
         required="false"
         readonly="true"
         disabled="true"
         size="1">
         <option value="1">JYES</option>
         <option value="0">JNO</option>
      </field> 

      <field name="published" type="list"
         label="JPUBLISHED"
         description="JFIELD_PUBLISHED_DESC"
         class="inputbox"
         size="1"
         default="1">
         <option value="1">JPUBLISHED</option>
         <option value="0">JUNPUBLISHED</option>
      </field> 

      <field name="checked_out" type="hidden" filter="unset" />
      <field name="checked_out_time" type="hidden" filter="unset" />
   </fieldset>
   
   <fieldset name="audit_details" label="COM_ISSUETRACKER_ISSUE_AUDIT_LEGEND">

      <field name="created_on" type="calendar" default="" 
         label="COM_ISSUETRACKER_FIELD_CREATED_ON_LABEL"
         size="30" format="%Y-%m-%d %H:%M:%S"
         readonly="true"
         disabled="true"
         description="COM_ISSUETRACKER_FIELD_CREATED_ON_DESC" />    

      <field name="created_by" type="text"
         label="COM_ISSUETRACKER_FIELD_CREATED_BY_LABEL"
         description="COM_ISSUETRACKER_FIELD_CREATED_BY_DESC"
         size="40"
         readonly="true"
         disabled="true" />

      <field name="modified_on" type="calendar" default="" 
         label="COM_ISSUETRACKER_FIELD_MODIFIED_ON_LABEL" 
         description="COM_ISSUETRACKER_FIELD_MODIFIED_ON_DESC"
         size="30" format="%Y-%m-%d %H:%M:%S"
         readonly="true"
         disabled="true" />    

      <field name="modified_by" type="text"
      	label="COM_ISSUETRACKER_FIELD_MODIFIED_BY_LABEL"
         description="COM_ISSUETRACKER_FIELD_MODIFIED_BY_DESC"
         size="40"
         readonly="true"
         disabled="true" />
   </fieldset>   
</form>
