def preview

    element = params[:element]
    model = Model.find_by_id(params[:id])