<?php
include(dirname(__FILE__) . '/../header1.php');
?>
<?php
include(dirname(__FILE__) . '/../header2.php');
?>

<h2>ホテルの編集</h2>

<?php
if (isset($error) && count($error))
{
    echo '<div class="form_error"><ul>' . "\n";
    foreach ($error as $err)
    {
        echo "<li>" . $err . "</li>" . "\n";
    }
    echo '</ul></div>' . "\n";
}
?>

<?php echo form_open('super/hotels/edit/' . $hotelid); ?>

<?php include('form.php') ?>

</form>

<?php
include(dirname(__FILE__) . '/../footer.php');
?>
