Sha256: cf87ed7c93fe51db9238c8c36a3f4a181c6c4d6172210f6a359e6cf1284fec99
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
= form_for(@role) do |f| - if @role.errors.any? %div#error_explanation %h2= "#{pluralize(@role.errors.count, 'error')} prohibited this role from being saved:" %ul - @role.errors.full_messages.each do |msg| %li= msg %fieldset .field = f.label :name, :class => 'em' .input = f.text_field :name, :class => "em long" .field = f.label :scope, :class => 'em' .input = f.select :scope, @scope_list .field = f.label :assign_to_owner, :class => 'checkbox' .input = f.check_box :assign_to_owner %div.actions = f.submit
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alberich-0.2.0 | app/views/alberich/roles/_form.html.haml |