Sha256: 81ba3f9d18d03d775e801446835799576ac273a46e182e405d6f3c119cf74d63
Contents?: true
Size: 758 Bytes
Versions: 21
Compression:
Stored size: 758 Bytes
Contents
= form_for @cms_fortress_role, :html => {:class => 'form-horizontal'} do |f| - if @cms_fortress_role.errors.any? #error_explanation %h2= "#{pluralize(@cms_fortress_role.errors.count, "error")} prohibited this role from being saved:" %ul - @cms_fortress_role.errors.full_messages.each do |msg| %li= msg .control-group = f.label :name, :class => 'control-label' .controls = f.text_field :name, :class => 'input-large' .control-group = f.label :description, :class => 'control-label' .controls = f.text_area :description, :rows => 2, :class => 'input-xxlarge' .form-actions = f.submit 'Save', :class => 'btn btn-primary' = link_to 'Cancel', cms_fortress_roles_path, :class => 'btn'
Version data entries
21 entries across 21 versions & 1 rubygems