Sha256: ccdf46041eb544cf3a42e2fd8ea3b187263debd5fb2933d73545e9373d0a6abc

Contents?: true

Size: 473 Bytes

Versions: 8

Compression:

Stored size: 473 Bytes

Contents

<% if resource.errors.any? %>
    <h2><%= pluralize(resource.errors.count, "error") %> stopped this theme from being saved:</h2>
    <ul>
    <% resource.errors.full_messages.each do |msg| %>
      <li><%= msg %></li>
    <% end %>
    </ul>
<% end %>

<% semantic_form_for [resource] do |form| %>
  <%= form.input :name %>
    <%= form.input :body, :input_html => {:cols => 200, :rows => 60} %>
  <% form.buttons do %>
    <%= form.commit_button %>
  <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
inkling-0.1.0 app/views/inkling/themes/_form.html.erb
inkling-0.0.9 app/views/inkling/themes/_form.html.erb
inkling-0.0.8 app/views/inkling/themes/_form.html.erb
inkling-0.0.7 app/views/inkling/themes/_form.html.erb
inkling-0.0.5 app/views/inkling/themes/_form.html.erb
inkling-0.0.4 app/views/inkling/themes/_form.html.erb
inkling-0.0.3a app/views/inkling/themes/_form.html.erb
inkling-0.0.3 app/views/inkling/themes/_form.html.erb