?> </td> <td><?php echo $stop_object->find_by_id($route->begin_stop)->name; ?> </td> <td><?php echo $stop_object->find_by_id($route->end_stop)->name; ?> </td> <td><?php echo $route->length; ?> </td> <td><?php echo format_trip_time($route->trip_time); ?> </td> <td><a href="public-read-route.php?routeid=<?php echo $route->id; ?> " class="btn btn-warning btn-block"><i class="icon-info-sign icon-white"></i> Route Profile</a></td> </tr> <?php } ?> </tbody> </table>
<div class="control-group"> <label for="length" class="control-label">Route Length<br />(in km)</label> <div class="controls"> <input type="text" name="length" class="uneditable-input" id="disabledInput" disabled value="<?php echo $route_to_read_update->length; ?> "> </div> </div> <div class="control-group"> <label for="trip_time" class="control-label">Trip Time<br /></label> <div class="controls"> <input type="text" name="trip_time" disabled="disabled" value="<?php echo format_trip_time($route_to_read_update->trip_time); ?> "> </div> </div> <div class="control-group"> <label for="begin_stop" class="control-label">Begin Stop</label> <div class="controls"> <textarea rows="3" name="begin_stop" disabled="disabled"><?php echo $stop_object->find_by_id($route_to_read_update->begin_stop)->name; ?> </textarea> </div> </div>