JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
stylus: space_evenly: don't require units on arg
[wfpl.git] / metaform / template.html
index 09acf3d..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 {~-->
                        <div class="field"><!--~options {~-->
                                <input type="radio" name="~name~" value="~~~name~ radio_~i~~~" id="~name~_~i~_radio"><label for="~name~_~i~_radio"> ~option_caption html~</label><br><!--~}~-->
                        </div><!--~}~--><!--~checkbox {~-->
-                       <div class="caption"><input type="checkbox" name="~name~~~~name~ checked~~" id="~name~_checkbox"><label for="~name~_checkbox"> ~caption html~</label></div>
-                       <div class="field"></div><!--~}~--><!--~submit {~-->
-                       <div class="caption"></div>
-                       <div class="field"><input type="submit" name="~name~" value="~caption attr~"></div><!--~}~-->
+                       <div class="caption field"><input type="checkbox" name="~name~~~~name~ checked~~" id="~name~_checkbox"><label for="~name~_checkbox"> ~caption html~</label></div><!--~}~--><!--~submit {~-->
+                       <div class="caption field"><input type="submit" name="~name~" value="~caption attr~"></div><!--~}~-->
 <!--~}~-->
                </form><!--~opt_listing {~-->