Replace admin edit.php content for CPT

I found a way to add html above the post type table which is generated by WP.

add_filter( 'views_edit-my_cpt', "custom_list_table"); 
function custom_list_table( $views ) {
    /* Print form */ ?>         
    <form method="post" action="//your.url/?action=action">
        <? wp_nonce_field( 'action-form', 'action_nonce' );  ?>     
        <label for="field1"><? _e('your label') ?></label><br />
        <input id="field1" type="text" name="field1"><input type="submit" name="submit" id="submitbtn" class="button button-primary" value="<? _e('Go')?> ">
    </form><?   
    return $views;
}