RCCWP_CustomWritePanelPage::Edit PHP Method

Edit() public static method

public static Edit ( )
    public static function Edit()
    {
        global $mf_domain;
        $customWritePanel = RCCWP_CustomWritePanel::Get((int) $_REQUEST['custom-write-panel-id']);
        ?>
		<div class="wrap">

		<h2><?php 
        _e('Edit', $mf_domain);
        ?>
 <?php 
        echo $customWritePanel->name;
        ?>
 <?php 
        _e('Write Panel', $mf_domain);
        ?>
</h2>

		<form action="<?php 
        echo RCCWP_ManagementPage::GetCustomWritePanelGenericUrl('submit-edit-custom-write-panel');
        ?>
" method="post" id="submit-edit-custom-write-panel">
		<?php 
        wp_nonce_field('submit-edit-custom-write-panel');
        ?>
		<?php 
        RCCWP_CustomWritePanelPage::Content($customWritePanel);
        ?>

		<p class="submit" >
			<a  style="color:black" href="<?php 
        echo RCCWP_ManagementPage::GetCustomWritePanelGenericUrl('cancel-edit-custom-write-panel');
        ?>
" class="button"><?php 
        _e('Cancel', $mf_domain);
        ?>
</a>
			<input type="submit" id="submit-edit-custom-write-panel" value="<?php 
        _e('Update', $mf_domain);
        ?>
" />
		</p>
		</form>

		</div>

		<?php 
    }