Skip to content
Create bootstrap forms with elixir
Elixir
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
test
.gitignore
.travis.yml
README.md
mix.exs
mix.lock

README.md

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 %>
```
You can’t perform that action at this time.