Skip to content

HTML helpers #26

Description

@iamvery

A number of tags have specific content.

Examples include:

  • anchor tags: most common being its content and href
  • forms: action, method, & csrf

There are no doubt many others. It would significantly reduce the end user's data-preparation code by providing some helpers for these sorts of things.

data = %{
  foo: %{
    link: foo_path(conn, :index) |> a,
    form: foo_path(conn, :create) |> form(:post),
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions