Sha256: 40afcb3227ee2ff7705b7d9e0d1f4af357cd0f9c450a339f14b7ba35f0ec84a5
Contents?: true
Size: 574 Bytes
Versions: 3
Compression:
Stored size: 574 Bytes
Contents
-# tag variable should be passed from the view = form_for tag, url: tag.id ? admin_tag_path : admin_tags_path do |f| - if tag.errors.any? .error %h2= format(n_('An error prevented this tag from being saved:', '%<nb>i errors prevented this tag from being saved:', tag.errors.count), nb: tag.errors.count) %ul - tag.errors.full_messages.each do |message| %li= message .field = f.label :name .field-input= f.text_field :name .actions = f.submit _('Save'), class: 'btn btn--save'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
elabs-3.0.0 | app/views/elabs/admin/tags/_form.html.haml |
elabs-2.0.0 | app/views/elabs/admin/tags/_form.html.haml |
elabs-2.0.0.pre | app/views/elabs/admin/tags/_form.html.haml |