Sha256: cfe32543118415d12e814d1c7145d4d34c8b788303ee5ad44ed77a786a6d1c12

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 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, nil, :class => 'input-xlarge date-picker' %>
    </div>
  </div>
  <div class="form-actions">
    <%= f.submit "Change", :class => 'btn btn-primary' %>
    <%= link_to 'Back', :back, :class => 'btn' %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kaui-0.1.6 app/views/kaui/subscriptions/edit.html.erb
kaui-0.1.5 app/views/kaui/subscriptions/edit.html.erb
kaui-0.1.4 app/views/kaui/subscriptions/edit.html.erb
kaui-0.1.3 app/views/kaui/subscriptions/edit.html.erb
kaui-0.1.2 app/views/kaui/subscriptions/edit.html.erb