Skip to content

Instantly share code, notes, and snippets.

@billsaysthis
Created October 10, 2009 22:57
Show Gist options
  • Save billsaysthis/207220 to your computer and use it in GitHub Desktop.
Save billsaysthis/207220 to your computer and use it in GitHub Desktop.
<div>
<% form_for @service, :url => {:controller=>"recipient", :action => frmAction, :id => @service.id}, :html => { :id => 'addSiteForm', :class => 'fullForm', :multipart => true, :method => :put } do |f| -%>
<% unless f.error_messages.blank? %>
<div id="flashInfo">
<%= f.error_messages %>
</div>
<% end %>
<div class='fieldTag'>
<label for='service_name'>Name:</label><br/><%= f.text_field :name %>
</div>
<div class='fieldTag'>
<label for='service_url'>URL:</label><br/><%= f.text_field :url %>
</div>
<div class='fieldTag'>
<label for='service_email'>Email:</label><br/><%= f.text_field :email %>
</div>
<div class='fieldTag'>
<label for='service_paypal_email'>Paypal Account Email:</label><br/><%= f.text_field :paypal_email %>
</div>
<div class='fieldTag'>
<label for='service_description'>Description:</label><br/><%= f.text_area :description, :rows => 4, :cols => 26 %>
</div>
<div class='fieldTag'>
<label for='user_logo'>Your logo:</label><br/>
<%= file_field :logo, :uploaded_data, :style => 'width: 100px', :size => 17 %>
<p class="fullform_note"><%= AVATAR_DELAY_WARNING -%></p>
</div>
<div class='fieldTag'>
<%= submit_tag btnLabel %> <br/>
</div>
<% end -%>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment