// POST /releases/edit/:id
func EditReleases(w http.ResponseWriter, r *http.Request) {
	vars := mux.Vars(r)
	id, _ := strconv.ParseInt(vars["id"], 10, 64)
	release := models.FindRelease(id)
	data := map[string]interface{}{
		"release":  release,
		"files":    models.FilesIndex(),
		"title":    "Edit Release",
		"endpoint": "/admin/releases/update",
	}
	R.HTML(w, http.StatusOK, "releases_form", data)
}
// GET /files
func Files(w http.ResponseWriter, r *http.Request) {
	data := map[string]interface{}{"files": models.FilesIndex()}
	R.HTML(w, http.StatusOK, "files", data)
}