Authorizations can now be used without an existing credit card
[monkeycharger.git] / trunk / app / views / credit_cards / edit.html.erb
blobeb616f2c7e892dfa906aaccf22a38cf17faa9d4c
1 <h1>Editing credit_card</h1>
3 <%= error_messages_for :credit_card %>
5 <% form_for(@credit_card) do |f| %>
6   <p>
7     <b>Name</b><br />
8     <%= f.text_field :name %>
9   </p>
11   <p>
12     <b>Number</b><br />
13     <%= f.text_field :number %>
14   </p>
16   <p>
17     <b>Card type</b><br />
18     <%= f.text_field :card_type %>
19   </p>
21   <p>
22     <b>Month</b><br />
23     <%= f.text_field :month %>
24   </p>
26   <p>
27     <b>Year</b><br />
28     <%= f.text_field :year %>
29   </p>
31   <p>
32     <b>Cvv</b><br />
33     <%= f.text_field :cvv %>
34   </p>
36   <p>
37     <b>Street address</b><br />
38     <%= f.text_field :street_address %>
39   </p>
41   <p>
42     <b>City</b><br />
43     <%= f.text_field :city %>
44   </p>
46   <p>
47     <b>State</b><br />
48     <%= f.text_field :state %>
49   </p>
51   <p>
52     <b>Country</b><br />
53     <%= f.text_field :country %>
54   </p>
56   <p>
57     <b>Zip</b><br />
58     <%= f.text_field :zip %>
59   </p>
61   <p>
62     <%= f.submit "Update" %>
63   </p>
64 <% end %>
66 <%= link_to 'Show', @credit_card %> |
67 <%= link_to 'Back', credit_cards_path %>