Sha256: 2ab09f4a6ea48b226a3bd1718d1285cc86b5a54b2bfca7107be3e8c5f36401b0

Contents?: true

Size: 636 Bytes

Versions: 1

Compression:

Stored size: 636 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.present? %>
  	<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.2 app/views/adminpanel/clients/_client_form.html.erb