Sha256: 12d36ec2e2ffe37cd5f78dbabf99e2d557119ec96e66262582ef73dd6d4acb35

Contents?: true

Size: 1.67 KB

Versions: 24

Compression:

Stored size: 1.67 KB

Contents

<% @page_title = "Edit Subscription" %>
<%= form_for(@subscription, :url => subscription_path(@subscription.subscription_id), :html => { :method => :put, :class => "form-horizontal" }) do |f| %>
  <%= f.hidden_field :subscription_id %>
  <%= f.hidden_field :price_list %>
  <div class="control-group">
    <label class="control-label">Account timezone</label>
    <div class="controls">
      <label class="checkbox">
        <%= @account.timezone %>
      </label>
    </div>
  </div>
  <div class="control-group">
    <%= label_tag :current_plan, 'Current plan:', :class => "control-label" %>
    <div class="controls">
      <%= text_field_tag :current_plan, @current_plan, :class => 'input-xlarge disabled', :disabled => "disabled" %>
    </div>
  </div>
  <div class="control-group">
    <%= label_tag :plan_name, "New plan:", :class => "control-label" %>
    <div class="controls">
      <%= select_tag :plan_name, options_for_select(@catalog.keys, @plan_name) %>
    </div>
  </div>
  <div class="control-group">
    <%= label_tag :requested_date, 'Change Date:', :class => "control-label" %>
    <div class="controls">
      <%= text_field_tag :requested_date, Time.now.utc.iso8601, :class => 'input-xlarge date-picker' %>
    </div>
  </div>
  <div class="control-group">
    <%= label_tag :policy, "Policy Override (leave blank for default; select an option to force plan change):", :class => "control-label" %>
    <div class="controls">
      <%= select_tag :policy, options_for_select(['', 'IMMEDIATE', 'END_OF_TERM']) %>
    </div>
  </div>
  <div class="form-actions">
    <%= f.submit "Change", :class => 'btn btn-primary' %>
    <%= link_to 'Back', :back, :class => 'btn' %>
  </div>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
kaui-0.4.9 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.8 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.7 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.6 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.5 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.4 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.3 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.2 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.1 app/views/kaui/subscriptions/edit.html.erb
kaui-0.4.0 app/views/kaui/subscriptions/edit.html.erb
kaui-0.3.1 app/views/kaui/subscriptions/edit.html.erb
kaui-0.3.0 app/views/kaui/subscriptions/edit.html.erb
kaui-0.2.6 app/views/kaui/subscriptions/edit.html.erb
kaui-0.2.5 app/views/kaui/subscriptions/edit.html.erb
kaui-0.2.4 app/views/kaui/subscriptions/edit.html.erb
kaui-0.2.3 app/views/kaui/subscriptions/edit.html.erb
kaui-0.2.2 app/views/kaui/subscriptions/edit.html.erb
kaui-0.2.1 app/views/kaui/subscriptions/edit.html.erb
kaui-0.2.0 app/views/kaui/subscriptions/edit.html.erb
kaui-0.1.18 app/views/kaui/subscriptions/edit.html.erb