{"action":"closed","issue":{"url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/297","repository_url":"https://api.github.com/repos/zofe/rapyd-laravel","labels_url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/297/comments","events_url":"https://api.github.com/repos/zofe/rapyd-laravel/issues/297/events","html_url":"https://github.com/zofe/rapyd-laravel/issues/297","id":135720998,"number":297,"title":"DataEdit custom HTML for show context","user":{"login":"gradosevic","id":10562516,"avatar_url":"https://avatars.githubusercontent.com/u/10562516?v=3","gravatar_id":"","url":"https://api.github.com/users/gradosevic","html_url":"https://github.com/gradosevic","followers_url":"https://api.github.com/users/gradosevic/followers","following_url":"https://api.github.com/users/gradosevic/following{/other_user}","gists_url":"https://api.github.com/users/gradosevic/gists{/gist_id}","starred_url":"https://api.github.com/users/gradosevic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradosevic/subscriptions","organizations_url":"https://api.github.com/users/gradosevic/orgs","repos_url":"https://api.github.com/users/gradosevic/repos","events_url":"https://api.github.com/users/gradosevic/events{/privacy}","received_events_url":"https://api.github.com/users/gradosevic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-23T12:14:05Z","updated_at":"2016-02-23T15:35:09Z","closed_at":"2016-02-23T15:35:09Z","body":"Is there a way to wrap up form fields in DataEdit with custom HTML (or Blade) like we can do in DataGrid? \r\n\r\nI have something like this:\r\n```\r\n$edit = DataEdit::source(new User);\r\n$edit->add('status', 'Status', 'text');\r\n```\r\n\r\nI would like to do something like this:\r\n```\r\n$status = Status::find($edit->model->status_id);\r\n$edit->add('<a href=\"statuses/edit?show='.$status->id.'\"  >'.$status->name.'</a>', 'Status', 'html');\r\n```\r\nThis will work only when showing record (does not make sense for editing mode), this link could point to status record from different table and it would be much easier to find that related record.\r\n\r\nThanks for such great library!\r\n"}}