"Fossies" - the Fresh Open Source Software Archive

Member "metadot/metadot/Metadot/templates/supergizmo/add_supergizmo_field.tt2" (21 Apr 2004, 847 Bytes) of package /linux/www/old/Metadot6.4.5.4.tar.gz:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <h2>Add a new [%- supergizmo.get_gizmo_name %] Field to "[%- supergizmo.name %]"</h2>
    2 <hr/><br/>
    3 [%- form_type_fields = supergizmo.get_all_form_field_types() %]
    4 [%- IF form_type_fields.size > 0 %]
    5 <form name="define_supergizmo_fields" method="post" action="index.pl">
    6   [% INCLUDE hidden_fields.tt2 %]
    7   [% INCLUDE supergizmo_field_subform.tt2 %]
    8   <hr/>
    9   <input type="submit" name="add_supergizmo_field_confirm" value="Add [%- self.get_gizmo_name %] Field" class='text_button' />
   10   <input type="reset" class='text_button' />
   11   <input type="button" class='text_button' onClick="javascript:history.go(-1)" value="Cancel" />
   12 </form>
   13 [%- ELSE %]
   14 <h2>All fields are occupied.</h2> Please delete existing fields if you wish to add a new one.
   15   <input type="button" class='text_button' onClick="javascript:history.go(-1)" value="Go back" />
   16 [%- END %]