Sha256: 537e0760ffcb1b6882c5876d3ff21975506dc0a239b75b261a736218a6187feb

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

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

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

  <div class="field">
    <%= form.label :web_assembly_code %>
    <%= form.text_area :web_assembly_code %>
  </div>

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ezii-browser-1.0.0 server/redux-os/app/views/widgets/_form.html.erb
mega-os-1.0.0 app/views/widgets/_form.html.erb