Sha256: 0119e08ff60f5dca1fbccedda08d73c38309a8619e58776578517d35f39345ce

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

<div id="photo-<%=  photo.id %>" class="form-photo-field">
  <%= fields_for "photos[photo]", photo, :index => photo.id do |p|%>
      <div class="form_photo_left">
        <%= link_to (image_tag  photo.file.preview.url), photo.file.single.url, {:target=> "_blank"} %>
      </div>

      <div class="form_photo_right">
        <div class='field'>
          <%= p.label :title %>
          <%= p.text_field :title, :class => "larger" %>
        </div>

        <div class='field'>
          <%= p.label :description %>
          <%= p.text_area :description, :rows => "5", :cols=> "57" %>
        </div>

        <div class='field-group'>
            <%= p.label :longitude, :tooltip=> t('.use_decimal_format') %>
            <%= p.text_field :longitude, :size=> 13 %>

            <%= p.label :latitude , :tooltip=> t('.use_decimal_format') %>
            <%= p.text_field :latitude, :size=> 13  %>
        </div>


        <%= render :partial => "form_fields_actions", :locals => { :photo => photo } %>
      </div>
  <% end%>
  <div class="form_photo_cleaner"></div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-photo-gallery-0.1.2 app/views/refinery/photo_gallery/admin/photos/_form_fields.html.erb
refinerycms-photo-gallery-0.1.1 app/views/refinery/photo_gallery/admin/photos/_form_fields.html.erb
refinerycms-photo-gallery-0.1.0 app/views/refinery/photo_gallery/admin/photos/_form_fields.html.erb