Sha256: 5a1aca7af1c9cee35824ee7c91102c133ad6d13cbd7242b8f787e2b7a3030613

Contents?: true

Size: 611 Bytes

Versions: 2

Compression:

Stored size: 611 Bytes

Contents

<div class="page-header">
  <h1>Add Data</h1>
</div>

<%= form_for(@page, url: admin_create_page_data_path(@page.id), method: :post) do |f| %>
    <div class="row">
      <div class="large-6 columns">
        <%= f.label :key, class: 'control-label' %>
        <%= f.text_field :key, class: 'form-control' %>
      </div>
    </div>
    <div class="row">
      <div class="large-6 columns">
        <%= f.label :value, class: 'control-label' %>
        <%= f.text_field :value, class: 'form-control' %>
      </div>
    </div>
    <%= f.submit 'Submit', id: 'submit', class: 'button success small' %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cavy-0.1.0.beta2 app/views/cavy/admin_pages/data/new.html.erb
cavy-0.1.0.beta1 app/views/cavy/admin_pages/data/new.html.erb