Skip to content

Instantly share code, notes, and snippets.

@Viswanathantv
Created March 21, 2013 10:56
Show Gist options
  • Save Viswanathantv/5212212 to your computer and use it in GitHub Desktop.
Save Viswanathantv/5212212 to your computer and use it in GitHub Desktop.
<%= form_for @rd_transaction, :html => { :class => 'form-horizontal' } do |f| %>
<div class="control-group">
<%= f.label :rd_id, :class => 'control-label' %>
<div class="controls">
<%= f.number_field :rd_id, :class => 'number_field' %>
</div>
</div>
<div class="control-group">
<%= f.label :member_id, :class => 'control-label' %>
<div class="controls">
<%= f.number_field :member_id, :class => 'number_field' %>
</div>
</div>
<div class="control-group">
<%= f.label :amount_deposited, :class => 'control-label' %>
<div class="controls">
<%= f.text_field :amount_deposited, :class => 'text_field' %>
</div>
</div>
<div class="control-group">
<%= f.label :deposit_type, :class => 'control-label' %>
<div class="controls">
<%= f.text_field :deposit_type, :class => 'text_field' %>
</div>
</div>
<div class="form-actions">
<%= f.submit nil, :class => 'btn btn-primary' %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
rd_transactions_path, :class => 'btn' %>
</div>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment