Novecento Normal
Novecento Demibold
Novecento Bold

Un form builder utilisant le Twitter Bootstrap
Aujourd’hui une gem bien pratique pour créer des formulaires. Pour commencer on ajoute ceci à notre application.css :
/*
 *= require bootstrap_form
*/
Ensuite on peut faire quelque chose dans ce genre :
<%= bootstrap_form_for(@user) do |f| %>
  <%= f.alert_message "Please fix the errors below." %>
  <%= f.text_field :email, autofocus: :true %>
  <%= f.password_field :password, help: 'Must be at least 6 characters long' %>
  <%= f.password_field :password_confirmation, label: 'Confirm Password' %>
  <%= f.check_box :terms, label: 'I agree to the Terms of Service' %>
  <%= f.actions do %>
    <%= f.primary 'Sign Up', disable_with: 'Saving...' %>
  <% end %>
<% end %>
Et voilà un bien joli formulaire avec différentes options de présentation ainsi qu’une gestion des erreurs propre. C’est tout pour aujourd’hui !
Le lien utile