public function create_form($type)
{
$this->register_settings($type);
?>
<form method="post">
<?php
settings_fields('github_updater_install');
do_settings_sections('github_updater_install_' . $type);
if ('plugin' === $type) {
submit_button(esc_html__('Install Plugin', 'github-updater'));
}
if ('theme' === $type) {
submit_button(esc_html__('Install Theme', 'github-updater'));
}
?>
</form>
<?php
}