Sha256: 2e32573edb584508afd3a86e93022f7871d8516fec94fdf51911b1ea07147895

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

= form_for @email do |f|
  - if @email.errors.any?
    .alert.alert-error.fade.in.span9
      = link_to "×", "#", :class => "close", 'data-dismiss' => 'alert'
      - @email.errors.full_messages.each do |m|
        = m
          
  .form-horizontal
    .control-group
      = f.label :email, :class => 'control-label'
      .controls= f.text_field :email, :class => "span6"

    .form-actions
      = f.submit :class => "btn btn-primary"
      
      = link_to "Отмена", emails_url, :class => "btn" 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
constructor-cms-0.2.1 cap/app/views/constructor_cap/emails/_form.haml