Sha256: 9dd77c4a38f51e9370cbbb76b7ef68955368530291e39eb9fdc4e4e02496088d

Contents?: true

Size: 586 Bytes

Versions: 16

Compression:

Stored size: 586 Bytes

Contents

<div class="product-image">
	<% unless f.object.new_record? %>
		<div class="control-group">
			<div class="controls">
				<%= image_tag f.object.file_url(:thumb) %>
			</div>
		</div>
	<% end %>
	<div class="control-group">
			<%= f.label t("model.Adminpanel::Image"), :class => "control-label"  %>
		<div class="controls">
			<%= f.file_field :file %>
			<%= f.hidden_field :model, :value => model_name %>
			<%= f.hidden_field :_destroy %>
			<%= 
			content_tag(
				:button, 
				t("action.delete"), 
				:class => "btn btn-danger remove_fields"
			) 
			%>
		</div>
	</div>
</div>

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
adminpanel-1.2.5 app/views/shared/_image_fields.html.erb
adminpanel-1.2.5 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.2.4 app/views/shared/_image_fields.html.erb
adminpanel-1.2.4 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.2.3 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.2.3 app/views/shared/_image_fields.html.erb
adminpanel-1.2.2 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.2.2 app/views/shared/_image_fields.html.erb
adminpanel-1.2.1 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.2.1 app/views/shared/_image_fields.html.erb
adminpanel-1.2.0 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.2.0 app/views/shared/_image_fields.html.erb
adminpanel-1.1.0 app/views/shared/_image_fields.html.erb
adminpanel-1.1.0 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.0.0 app/views/adminpanel/sections/_image_fields.html.erb
adminpanel-1.0.0 app/views/shared/_image_fields.html.erb