id;?> createLink('api', 'index', "apiID=$api->id"), $api->title, '', "title='$api->title'");?> arrow . ' ' . $lang->api->edit;?>

save, '', 'id="top-submit" class="btn btn-primary"');?>

api->create;?>

api->module;?>
api->formTitle;?> title, "class='form-control' required");?>
api->path;?> path, "class='form-control'");?>
api->protocol;?> api->protocalOptions, $api->protocol ? $api->protocol : 'HTTP');?>
api->method;?> api->methodOptions, $api->method ? $api->method : 'GET', "class='form-control chosen'");?>
api->requestType;?> api->requestTypeOptions, $api->requestType ? $api->requestType : 'application/json', "class='form-control chosen'");?>
api->status;?> api->statusOptions, $api->status ? $api->status : apiModel::STATUS_DOING);?>
api->owner;?>
owner ? $api->owner : $user, "class='form-control chosen'");?>
api->header;?>
struct->field;?> struct->required;?> struct->desc;?> struct->action;?>
api->query;?>
struct->field;?> struct->required;?> struct->desc;?> struct->action;?>
api->params;?>
api->paramsExample;?>
paramsExample, "style='width:100%;height:200px'");?>
api->response;?>
api->responseExample;?>
responseExample, "style='width:100%;height:200px'");?>
api->desc;?>
desc, "style='width:100%;height:200px'");?>
editedDate);?> goback, "data-app='{$app->tab}'");?> goback, '', "class='btn btn-back btn-wide'");?>