Sha256: eb7f6b1769d298c0b1a8b351baba67beb15cb6c458b123f6f9d1d9a94493bb2f

Contents?: true

Size: 1018 Bytes

Versions: 8

Compression:

Stored size: 1018 Bytes

Contents

<% provide(:page_title, "Editar") %>
<% breadcrumb_add(t("Gallery"), galleries_path) %>
<% breadcrumb_add('Imagen', gallery_path(@gallery)) %>
<div class="row-fluid">
  <div class = "widget widget-padding span12">
    <div class = "widget-header"><i class = "icon-picture"></i><h5>Imagen</h5></div>
    <div class = "widget-body">
      <div class = "widget-forms clearfix">
        <%= custom_form_for(@gallery, :url => gallery_path(@gallery), :html => {:class => "form-horizontal"}) do |f| %>
          <%= render 'shared/error_messages', :object => @gallery %>
          <% if @gallery.file %>
          	<div class="controls">
          		<div class="control-group">
          			<%= image_tag @gallery.file_url(:thumb) %>
          		</div>
          	</div>
          <% end %>
          <%= f.adminpanel_file_field :file, :label => "Imagen" -%>
      </div>
    </div>
    <div class = "widget-footer">
      <%= f.submit "Agregar", :disable_with => 'Submiting...' %>
    </div>
      <% end -%>
  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adminpanel-1.2.5 app/views/adminpanel/galleries/edit.html.erb
adminpanel-1.2.4 app/views/adminpanel/galleries/edit.html.erb
adminpanel-1.2.3 app/views/adminpanel/galleries/edit.html.erb
adminpanel-1.2.2 app/views/adminpanel/galleries/edit.html.erb
adminpanel-1.2.1 app/views/adminpanel/galleries/edit.html.erb
adminpanel-1.2.0 app/views/adminpanel/galleries/edit.html.erb
adminpanel-1.1.0 app/views/adminpanel/galleries/edit.html.erb
adminpanel-1.0.0 app/views/adminpanel/galleries/edit.html.erb