Sha256: 57474601095a4f5c855f55c5a0b2a429335ef7407a410c2bb7c97969311e0d86

Contents?: true

Size: 472 Bytes

Versions: 6

Compression:

Stored size: 472 Bytes

Contents

<%= form_with(model: translation, local: true) do |form| %>
  <% if translation.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(translation.errors.count, "error") %> prohibited this translation from being saved:</h2>

      <ul>
        <% translation.errors.full_messages.each do |message| %>
          <li><%= message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="actions">
    <%= form.submit %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lesli_babel-0.6.0 app/views/lesli_babel/translations/_form.html.erb
lesli_babel-0.5.0 app/views/lesli_babel/translations/_form.html.erb
lesli_babel-0.4.0 app/views/lesli_babel/translations/_form.html.erb
lesli_babel-0.3.0 app/views/lesli_babel/translations/_form.html.erb
lesli_babel-0.2.0 app/views/lesli_babel/translations/_form.html.erb
lesli_babel-0.1.0 app/views/lesli_babel/translations/_form.html.erb