Sha256: 96cd1ae19629170bff0732bb298dedf70c3c8aa4146553cb32884179f70e22cc

Contents?: true

Size: 593 Bytes

Versions: 1

Compression:

Stored size: 593 Bytes

Contents

<%= form_for(subscription, url: url) do |f| %>
  <% if subscription.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(subscription.errors.count, "error") %> prohibited this subscription from being saved:</h2>
      <ul>
      <% subscription.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :plan_id, 'Plan' %><br>
    <%= f.collection_select :plan_id, Tang::Plan.all, :id, :name %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tang-0.0.1 app/views/tang/admin/subscriptions/_form_edit.html.erb