Sha256: a0379faa128bff9e9d8afa4054be4989e0ea65efdea7ea2f5da93d69a9a8f394

Contents?: true

Size: 803 Bytes

Versions: 8

Compression:

Stored size: 803 Bytes

Contents

<%= content_for :sidebar do %>
  <p class="hint text_only large padded">
  You can use the reorder button on the index page of categories to nest and reorder your categories, you can find further instructions for this on the index page help hints.
  </p>
<% end %>

<h2>Edit Category</h2>

<%= form_for [:admin, @section, @category] do |f| %>
  <% f.field_set do %>
    <div class="col">
      <%= f.text_field :title, label: true, hint: "Avoid names countaining only 4 or 2 digits!" %>
    </div>

    <div class="col">
      <%= f.text_field :permalink, label: true, hint: "You can use normal letters and special letters like scandinavian letters but avoid special characters like $%&!" %>
    </div>
  <% end %>

  <% save_or_cancel_links f, cancel_url: [:admin, @section, :categories] %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adva-0.3.2 app/views/admin/page/categories/edit.html.erb
adva-0.3.1 app/views/admin/page/categories/edit.html.erb
adva-0.3.0 app/views/admin/page/categories/edit.html.erb
adva-0.2.4 app/views/admin/page/categories/edit.html.erb
adva-0.2.3 app/views/admin/page/categories/edit.html.erb
adva-0.2.2 app/views/admin/page/categories/edit.html.erb
adva-0.2.1 app/views/admin/page/categories/edit.html.erb
adva-0.2.0 app/views/admin/page/categories/edit.html.erb