Sha256: 1994f8c91f120fcc5566f6ffa43473d97bc99342a66029d065c7432463b7628d

Contents?: true

Size: 1.38 KB

Versions: 22

Compression:

Stored size: 1.38 KB

Contents

<table>
  <tr valign="top">
    <td><%= image_tag "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

22 entries across 22 versions & 1 rubygems

Version Path
imagine_cms-4.1.4 app/views/management/cms/_image_details.html.erb
imagine_cms-4.1.3 app/views/management/cms/_image_details.html.erb
imagine_cms-4.1.2 app/views/management/cms/_image_details.html.erb
imagine_cms-4.1.1 app/views/management/cms/_image_details.html.erb
imagine_cms-4.1.0 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.9 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.8 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.7 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.6 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.5 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.4 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.3 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.2 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.1 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.0 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.0.beta13 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.0.beta12 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.0.beta11 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.0.beta10 app/views/management/cms/_image_details.html.erb
imagine_cms-3.0.0.beta9 app/views/management/cms/_image_details.html.erb