Sha256: 9f1a20ef4950242a9cd2ae4b084a98cc2a39f42b7e1bed1e91821389c833aedd

Contents?: true

Size: 760 Bytes

Versions: 11

Compression:

Stored size: 760 Bytes

Contents

<% if @mustache_render_folder.errors.any? %>
  <div id="error_explanation">
    <h2><%= pluralize(@mustache_render_folder.errors.count, "error") %> 个问题导致不能保存:</h2>

    <ul>
      <% @mustache_render_folder.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
    </ul>
  </div>
<% end %>

<div class="field">
  <%= f.label :name %><br />
  <%= f.text_field :name %>
</div>

<div class="field">
  <%= f.label :parent_id %><br />
  <%= f.select :parent_id, MustacheRenderFolder.nested_set_select_options(nil, @mustache_render_folder, :include_blank => true)  %>
</div>

<div class="field">
  <%= f.label :note %><br />
  <%= f.text_area :note, :rows => 5 %>
</div>

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mustache_render-0.0.15 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.14 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.13 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.12 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.10 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.9 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.7 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.6 lib/mustache_render/views/mustache_render/manage/folders/_form.html.erb
mustache_render-0.0.5 lib/mustache_render/views/mustache_render/manager/folders/_form.html.erb
mustache_render-0.0.4 lib/mustache_render/views/mustache_render/manager/folders/_form.html.erb
mustache_render-0.0.3 lib/mustache_render/views/mustache_render/manager/folders/_form.html.erb