Sha256: fb348986ee5092ca93089f7100cc2afdb53b4ae618f546ff03a57bb8875f807f

Contents?: true

Size: 497 Bytes

Versions: 3

Compression:

Stored size: 497 Bytes

Contents

<% decorated.errors[:base].try do |messages| %>
  <% Array(messages).each do |message| %>
    <div class="alert alert-danger alert-dismissible" role="alert">
      <%= raw message %>
    </div>
  <% end %>
<% end %>
<% decorated.form_field_names.each do |field_name| %>
  <%= type_render decorated.form_type_of(field_name), field_name: field_name, form: form %>
<% end %>
<%= form.button t('buttons.save'), class: 'btn btn-primary' %>
<%= cancel_link html_options: { class: 'btn btn-default' } %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wallaby-6.1.0 app/views/wallaby/resources/_form.html.erb
wallaby-6.0.2 app/views/wallaby/resources/_form.html.erb
wallaby-6.0.1 app/views/wallaby/resources/_form.html.erb