Adding phase checkboxres to resource edit page