Sha256: 3cf809165efe2f8d37ad485ec91a89aef9c297a0e644d999e0e383264b0617fe

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

<div class = "widget-body">
	<div class = "widget-forms clearfix">
<%= custom_form_for(@client, :html => {:class => "form-horizontal"}) do |f| %>
	<%= render 'shared/error_messages', :object => @client %>

	<%= f.text_field :name, :label => "Nombre" -%>
	
	<% if @client.logo %>
  	<div class="controls">
  		<div class="control-group">
  			<%= image_tag @client.logo_url(:thumb) %>
  		</div>
  	</div>
  <% end %>

	<%= f.custom_file_field :logo, :label => "Imagen" -%>
  	</div>
</div>
<div class = "widget-footer">
  <%= f.submit t("client.new"), :disable_with => 'Submiting...' %>
</div>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adminpanel-0.1.0cl app/views/adminpanel/clients/_client_form.html.erb