Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Grafikart/elixir-bootform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootform

Hex.pm Version

Installation

If available in Hex, the package can be installed as:

  1. Add bootform to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:bootform, "~> 0.1"}]
end
```
  1. Enjoy Bootform
```elixir
  <%= form_for @comment, post_path(@conn, :index), fn f -> %>
    <%= input f, :mail, false, type: :email, placeholder: "Your email" %>
    <%= input f, :username, false, placeholder: "Your username" %>
    <%= textarea f, :content, false, placeholder: "Your comment" %>
    <%= Bootform.submit "Envoyer" %>
  <% end %>
```

About

Create bootstrap forms with elixir

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages