Skip to content

Commit

Permalink
form aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
pimbrouwers committed Mar 20, 2024
1 parent 118e8fd commit 9f8a506
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Falco.Markup/Attr.fs
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,21 @@ module Attr =
//
// Aliases

/// Alias for `enctype=application/x-www-form-urlencoded`
let enctypeForm = enctype "application/x-www-form-urlencoded"

/// Alias for `enctype=multipart/form-data`
let enctypeMultipart = enctype "multipart/form-data"

// Alias for `method=post`
let methodPost = method "post"

// Alias for `method=get`
let methodGet = method "get"

// Alias for `method=dialog`
let methodDialog = method "dialog"

/// Alias for `target=_self`
let targetSelf = target "_self"

Expand Down

0 comments on commit 9f8a506

Please sign in to comment.