Sha256: 2b7149cd9c96e466a7c6044f05731ca9f7e615fa218846d7549102ab7ab48d14

Contents?: true

Size: 569 Bytes

Versions: 5

Compression:

Stored size: 569 Bytes

Contents

<%= form_for([:admin, @categ]) do |f| %>
  <%= render 'portfolio/shared/form_errors', record: @categ %>
      
  <div class="form-group">
    <%= f.label :name %><br>
    <%= f.text_field :name, class: 'form-control' %>
  </div>
  
  <div class="form-group">
    <%= f.label :key %><br>
    <%= f.text_field :key, class: 'form-control',
        placeholder: 'Leave empty to auto-generate based on the name' %>
  </div>
  
  <div class="actions">
    <%= f.submit class: 'btn btn-primary' %>
    <%= link_to 'Back', :back, class: 'btn btn-default' %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails-portfolio-0.0.5 app/views/portfolio/admin/site_item_categories/_form.html.erb
rails-portfolio-0.0.4 app/views/portfolio/admin/site_item_categories/_form.html.erb
rails-portfolio-0.0.3 app/views/portfolio/admin/site_item_categories/_form.html.erb
rails-portfolio-0.0.2 app/views/portfolio/admin/site_item_categories/_form.html.erb
rails-portfolio-0.0.1 app/views/portfolio/admin/site_item_categories/_form.html.erb