<commit_before>-form_for @card,:url=>card_path do |f|
  .card
    .logo
      CapCard
    .badge
      =positive_button "Apply"
    .inside
      .number_section
        =f.label :email
        =f.text_field :email, :size=>25
      .expiry_section
        %label Member since
        %span.member_since=Time.now.year
        %label Valid through
        %span.expiry=1.year.from_now.to_date.to_s :cc_expiry
      .name
        =f.label :name
        =f.text_field :name,:size=>25
  
.or
  or

-form_for @card,:url=>login_url(:only_path=>true) do |f|
  .card
    .logo
      CapCard
    .badge
      =positive_button "Login"
    .inside
      .number_section
        =f.label :number
        =f.text_field :number, :size=>9, :maxlength=>9
        =f.label :pin
        =f.password_field :pin, :size=>4, :maxlength=>4

.description
  This is a proof of concept simulation of how a 3rd party card issuer could issue cards that would work with any 
  =link_to "OpenTransact","http://wiki.github.com/opentransact/opentransact/opentransact"
  based bank account.<commit_msg>Clarifies that this links to NuBux on the front page.<commit_after>-form_for @card,:url=>card_path do |f|
  .card
    .logo
      CapCard
    .badge
      =positive_button "Apply"
    .inside
      .number_section
        =f.label :email
        =f.text_field :email, :size=>25
      .expiry_section
        %label Member since
        %span.member_since=Time.now.year
        %label Valid through
        %span.expiry=1.year.from_now.to_date.to_s :cc_expiry
      .name
        =f.label :name
        =f.text_field :name,:size=>25
  
.or
  or

-form_for @card,:url=>login_url(:only_path=>true) do |f|
  .card
    .logo
      CapCard
    .badge
      =positive_button "Login"
    .inside
      .number_section
        =f.label :number
        =f.text_field :number, :size=>9, :maxlength=>9
        =f.label :pin
        =f.password_field :pin, :size=>4, :maxlength=>4

.description
  This is a proof of concept simulation of how a 3rd party card issuer could issue cards that would work with any 
  =link_to "OpenTransact","http://wiki.github.com/opentransact/opentransact/opentransact"
  based bank account. In this case it links to an account on
  =link_to OPEN_TRANSACT_NAME, OPEN_TRANSACT_URL
  an experimental OpenTransact based ecurrency.
{'fraction_non_alphanumeric': 0.10726643598615918, 'fraction_numerical': 0.00865051903114187, 'mean_word_length': 2.531297709923664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5498698', 'n_tokens_mistral': 818, 'n_tokens_neox': 791, 'n_words': 197}