Skip to content

Rails native view tags support #598

Open
@sebyx07

Description

@sebyx07

would be nice if matestack would support rails view tags by default

def response
  div do
    content_tag :div, class: 'bg-blue-500' do
      link_to root_path do
        image_tag 'logo.png'
      end
    end

    form_with url: posts_path do |form|
      form.text_field :title

      div do
         form.submit 'Save'
      end
    end
  end
end

I know matestack has it's own form way, but still

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions