Sha256: c91d3560c4ca415a4a543e2a46b664e347c6b3096751ea65e66e4d4b904d413f

Contents?: true

Size: 990 Bytes

Versions: 3

Compression:

Stored size: 990 Bytes

Contents

%div
  %h2 Informacion del sitio
  
  - form_for (@site), :html => { :multipart => true } do |f| 
    .ui-widget.ui-widget-content
      - if @site.errors.any? 
        #error_explanation
          %h2="#{pluralize(@site.errors.count, 'error')} prohibited this entry from being saved:"
    
          %ul
            - @site.errors.full_messages.each do |msg| 
              %li= msg

    %p
      = f.label :'Nombre*'
    %p
      = f.text_field :name 
    %p
      = f.label :slogan 
    %p
      = f.text_field :slogan 
    %p
      = f.label :email 
    %p
      = f.text_field :email 
    %p
      = f.label :Logo 
    %p
      = f.file_field :logo 
    %p 
      = f.label :Icono 
    %p
      = f.file_field :icon 
    %p
      = f.label :Mision 
    %p
      = f.text_area :mision, :rows => 5 
    %p
      = f.label :Footer 
    %p
      = f.text_area :footer, :rows => 5

    %p
      = f.label :'Estilo' 
    %p
      = f.select :style, @files

    %p
      = f.submit 'Update' 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
squeezer-0.2.1 app/views/sites/_form.html.haml
squeezer-0.2.0 app/views/sites/_form.html.haml
squeezer-0.1.11 app/views/sites/_form.html.haml