Sha256: 8ab8f80f96c6d4b26b247e6ae45e4d9e905d6ecdedf8b32be8eef6901e48b426
Contents?: true
Size: 347 Bytes
Versions: 3
Compression:
Stored size: 347 Bytes
Contents
= form_for(@tag) do |f| - if @tag.errors.any? #error_explanation %h3 #{pluralize(@tag.errors.count, "error")} prohibited this tag from being saved: %ul - @tag.errors.full_messages.each do |msg| %li= msg .form-group = f.label :name = f.text_field :name, class: "form-control" = f.submit "Submit", class: "btn btn-success"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blogr-0.0.8 | app/views/blogr/tags/_form.html.haml |
blogr-0.0.7 | app/views/blogr/tags/_form.html.haml |
blogr-0.0.6 | app/views/blogr/tags/_form.html.haml |