Sha256: d1d09e171e9828d16176a5fcce044f0104f8efc9b0198f1fc651a466f4dd52d3

Contents?: true

Size: 854 Bytes

Versions: 5

Compression:

Stored size: 854 Bytes

Contents

<% content_for :tellimus do %>
  <%= render('tellimus/subscriptions/braintree_js.html.erb').html_safe %>
<% end %>

<%= form_for @subscription, url: url, html: {id: 'payment-form', class: 'form-horizontal'} do |f| %>

  <fieldset id="form-fieldset">

    <legend><%= title %></legend>

    <%= f.hidden_field :plan_id %>

  </fieldset>

  <div class="control-group">
    <div class="controls">
      <% if Tellimus.free_trial? %>
        <button type="submit" class="btn btn-primary submit-button"><%= t('koudoku.payment.save_billing_info') %></button>
      <% else %>
        <button type="submit" class="btn btn-primary submit-button" id='submit-button'><%= t('koudoku.payment.upgrade_account') %></button>
      <% end %>
      <%= link_to t('koudoku.payment.cancel'), owner_subscriptions_path(@owner), class: 'btn' %>
    </div>
  </div>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tellimus-0.1.2 app/views/tellimus/subscriptions/_card.html.erb
tellimus-0.1.1 app/views/tellimus/subscriptions/_card.html.erb
tellimus-0.1.0 app/views/tellimus/subscriptions/_card.html.erb
tellimus-0.0.4 app/views/tellimus/subscriptions/_card.html.erb
tellimus-0.0.3 app/views/tellimus/subscriptions/_card.html.erb