<%= directive(:big_hello_world, html: { id: "directive-div" }) do %> <%= directive(:nested_directive, name: @model.bind(:name), html: { tag: 'h1' }) %> <% end %>
<%# Rails bug with form_for and simple delegator. %> <%# Add this here to test the work around. %> <%= form_for @model, url: '' do |f| %> <%= f.label :name %> <%= f.text_field :name %> <% end %>