Remove redundant button

Fix parent-id type issue
This commit is contained in:
myname 2023-11-05 09:40:12 -06:00 committed by Shish
parent f99f28712c
commit 3c63d1d107
2 changed files with 1 additions and 2 deletions

View file

@ -40,7 +40,7 @@ class RelationshipsTheme extends Themelet
return SHM_POST_INFO(
"Parent",
!$user->is_anonymous(),
$image->parent_id ?: "None",
strval($image->parent_id) ?: "None",
INPUT(["type"=>"number", "name"=>"tag_edit__parent", "value"=>$image->parent_id])
);
}

View file

@ -72,7 +72,6 @@ class CustomViewImageTheme extends ViewImageTheme
<input name='search' type='text' style='width:75%'>
<input type='submit' value='Go' style='width:20%'>
<input type='hidden' name='q' value='/post/list'>
<input type='submit' value='Find' style='display: none;'>
</form>
";