elm-city-craftworks/practicing-ruby-web — pull request #93 by jordanbyron (2012-10-16 18:21:54+00:00)
Title: Add billing information to settings page

Now that we are managing payments in app, we need a way for subscribers to update their credit card and view current subscriptions. I've had to modify our existing settings page to make the presentation of this new information clear. All tabs are loaded via pjax which makes jumping between sections seamless.

**These four three screenshots show how I've split the settings page**

![Account Settings](http://i.imgur.com/DrgzM.png)
![Notification Settings](http://i.imgur.com/svW7s.png)
![Default Billing](http://i.imgur.com/Px0PG.png)

Currently, we don't have MailChimp subscription data in our database. Those users and users in a `payment_pending` status will see the above message.

![Active Subscription](http://i.imgur.com/xUXbr.png)

Users who have signed up with stripe will see the above screen with their current subscription. If they cancel and resubscribe they will see any previous subscriptions as well.

**These last two screenshots show the simple update / view credit card modal boxes**

![Update CC](http://i.imgur.com/i9oUd.png)
![Current CC](http://i.imgur.com/40CW7.png)