charset: map classic ti-8x calculators
[sheet.git] / word / edit.plp
index 9af73cdb3737e3cfbb6bed374f447f0ddf4809d0..40bf8afbb97547b3b3639261d4db4d3ded4fd2af 100644 (file)
@@ -260,7 +260,7 @@ for my $col (@wordcols) {
                printf '<span class=inline>';
                print $row->input($col => $attr);
                if (my $imgsrc = $attr->{-src}) {
-                       printf('<img id="%spreview" src="/%s" alt="%s"%s />',
+                       printf('<span id="%spreview"><img src="/%s" alt="%s"%s /></span>',
                                $col, $_, $row->{form}, $col eq 'source' && ' hidden'
                        ) for grep { -e } $imgsrc->($row);
                }
@@ -326,6 +326,10 @@ while (my $ref = $children->hash) {
        <input type="submit" value="Add" />
 </form></li>
 </ul>
+
+<form id="search">
+       <input type="search" name="q" value="" placeholder="search" /><button type="submit">🔍</button>
+</form>
 </section>
 <:
 }