
 <!doctype html>
  <html class="no-js">
  <head>

    <include file="Common/head" />
    <style type="text/css">
      .am-form{width:500px;margin-left:20px;float: left;}
      #editor {font-size: 12px;}
      .am-form label span{font-size: 13px;font-weight:normal;}
      .am-form label p{display: inline;color: #f00;}
      .am-form .am-form-inline-2 input[type=file]{width: 246px}
      .am-form .am-form-inline-3 input[type=text]{width: 160px}
      .am-form .am-form-inline-3 select{width: 160px}
      .am-form .am-form-inline-4 input[type=text]{width: 120px}
      .am-form .am-form-inline-4 select{width: 120px}
      .two-input {display: flex;}
      .am-form .am-form-inline-4 .two-input input[type=text]{width: 50px;}
      .am-form .am-form-inline-4 .two-input input[type=text]:nth-of-type(2){width: 20px;padding: 8px 2px;cursor: default;background: #fff; border-left: 0; border-right: 0;}

      .am-form input[type=file]{display:none;}
      .am-form .am-form-group img{height: 60px;min-width: 60px;max-width: 100px;margin-top: 2px;display: block;cursor: pointer;}
      input[readonly]{background-color: #fff!important;cursor: default!important;}
      .am-form-group input{
        height: 30px;font-size: 14px;margin-bottom: 10px !important;
      }
      .am-form-group select{
        height: 30px;font-size: 14px;margin-bottom: 10px !important;
      }
    </style>
  </head>
  <body>
  <include file="Common/header" />

  <div class="am-cf admin">

    <include file="Common/sidebar" nav="$nav" navv="$nav"/>
    <div class="content-page" style="background: white;">

      <div class="admin-content" style="background: white;">
        <div class="admin-content-body">
          <div class="am-cf am-padding">
            <div class="am-fl am-cf">
              <strong class="am-text-primary am-text-lg">Rotatory chart management</strong> /
              <small>{$op}</small>
            </div>
          </div>
          <hr style="margin-top:0px;">
          <form action="" method="POST" id="saveForm" enctype="multipart/form-data">
            <div class="am-form">
              <input type="hidden" name="id" value="{$info.id}" />

                <div class="am-form-group">
                  <label>Send the meal time</label>
                  <input type="text" name="time" value="{$info.time}" required="required" placeholder="Please enter delivery time, example：12:00">
                </div>

                <div class="am-form-group">
                  <label>status</label><br>
                  <label class="am-radio-inline">
                    <input type="radio" name="status" value="1" data-am-ucheck <?php if ($info['status'] == 1) : ?>checked<?php endif;?>> open
                  </label>
                  <label class="am-radio-inline">
                    <input type="radio" name="status" value="2" data-am-ucheck <?php if ($info['status'] == 2) : ?>checked<?php endif;?>> close
                  </label>
              </div>

              <button type="submit" class="am-btn am-btn-success" id="form_submit" style="margin-bottom: 50px;">save</button>&nbsp;
              <button type="button" class="am-btn" style="margin-bottom: 50px;" onclick='javascript:location.href="{:U('index')}";'>back</button>
          </form>
        </div>
        <footer class="admin-content-footer"><hr></footer>

      </div>

    </div>



  </div>
  <include file="Common/footer" />
  </body>

  </html>