@property
    def edit_button(self):
        doc_id = self.document_instance.get_id if self.document_instance else ""
        return mark_safe("""<a href="#crud_update_modal"
            class="btn btn-default"
            data-item_id="%s"
            onclick="crud_interface.update_item(this)"
            data-toggle="modal"><i class="fa fa-pencil"></i> Edit</a>""" + doc_id)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/crud/models.py/BaseAdminHQTabularCRUDManager.edit_button/operator `%` -> `+`