Sha256: 7173c0ebd18fae430867f1c238a3f15977a204534e9c7698ca9616e93ffa76dd

Contents?: true

Size: 1.39 KB

Versions: 27

Compression:

Stored size: 1.39 KB

Contents

<table>
  <tr valign="top">
    <td><%= image_tag "/assets/content/#{params[:path]}/#{params[:gallery_id]}/#{params[:image]}" %></td>
    <td style="padding-left: 10px;">
      <div id="caption_container" style="margin-bottom: 20px;">
        <strong>Caption</strong><br/>
        <%= form_remote_tag :url => { :action => 'update_caption', :id => params[:id], :path => params[:path], :gallery_id => params[:gallery_id], :image => params[:image] },
                            :update => 'gallery_container' do -%>
          <%= text_area_tag "caption", @caption %><br/>
          <%= submit_tag "Save" %> or <%= link_to_remote "cancel",
                                                         :url => { :action => 'gallery_management', :id => params[:id], :gallery_id => params[:gallery_id] },
                                                         :update => 'gallery_container' %>
        <%- end -%>
      </div>
      
      <div id="delete_container">
        <strong>Delete Photo</strong><br/>
        <%= form_remote_tag :url => { :action => 'delete_photo', :id => params[:id], :path => params[:path], :gallery_id => params[:gallery_id], :image => params[:image] },
                            :update => 'gallery_container',
                            :confirm => "This action cannot be undone. Continue?" do -%>
          <%= submit_tag "Delete" %>
        <%- end -%>
      </div>
    </td>
  </tr>
</table>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
imagine_cms-4.0.1 app/views/management/cms/_image_details.html.erb
imagine_cms-4.0.0 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.33 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.32 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.31 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.30 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.29 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.28 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.27 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.26 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.25 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.24 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.23.1 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.23 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.22 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.21 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.20 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.19 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.18 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.17 app/views/management/cms/_image_details.html.erb