werein/x-editable-rails — pull request #41 by 13k (2014-06-24 04:55:22+00:00)
Title: Feature: Enable customization of content tag with html options

Currently it's not possible to specify custom HTML attributes for field's the content tag. For example:

```erb
<%= editable(@article, :title, id: "my-custom-id") %>
```

will output:

```html
My first article
```

This PR adds an `:html` option to the `editable` helper that can customize the content tag's HTML attributes. The same view code up there will output:

```html
My first article
```