Sha256: 7a9f80201e6e4d1eb07a4d26832808b7189200b67167a118ced36a54091221d6

Contents?: true

Size: 854 Bytes

Versions: 1

Compression:

Stored size: 854 Bytes

Contents

.manager-cities--form
  = form_for @city, :html => { :multipart => true } do |f|
    .row
      .col-sm-6
        .field
          %label= t('cities.name')
          = f.text_field :name
        .field
          %label CityName
          = f.text_field :cityname
        .change-profile-pic
          %label Change profile pic
          = file_field_tag :photo
          = image_tag @city.profile_photo.photo.url(:thumb) rescue nil
        .field
          %label coords
          .row
            .col-xs-6
              = f.label :x
              = f.text_field :x
            .col-xs-6
              = f.label :y
              = f.text_field :y
      .col-sm-6
        .field
          = f.label :description
          = f.text_area :description, :class => [ :tinymce ]          

      .col-xs-12              
        .actions
          = f.submit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_manager-0.1.8.200 app/views/ish_manager/cities/_form.haml