JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
add note to file/image fields (old val kept)
[wfpl.git] / metaform / template.html
index 82f48c5..5af02f1 100644 (file)
                        <fieldset id="~name attr~"><legend>~caption html~</legend><!--~}~--><!--~end_fieldset {~-->
                        </fieldset><!--~}~--><!--~image {~-->
                        <div class="caption">~caption html~</div>
+                       <!--~~~name~ once_if {~~--><div class="field_notes">You can use this to update/replace the existing image. To keep the existing image, skip this field.</div><!--~~}~~-->
                        <div class="field"><input type="file" name="~name~"><input type="hidden" name="old_~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~file {~-->
                        <div class="caption">~caption html~</div>
+                       <!--~~~name~ once_if {~~--><div class="field_notes">You can use this to update/replace the existing file. To keep the existing file, skip this field.</div><!--~~}~~-->
                        <div class="field"><input type="file" name="~name~"><input type="hidden" name="old_~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~textbox {~-->
                        <div class="caption">~caption html~</div>
                        <div class="field"><input type="text" name="~name~" value="~~~name~ attr~~"></div><!--~}~--><!--~email {~-->