Sha256: 9adc3c65b84d0cdbc2260401c629241a93466d0d98eeadd468f9124833bd6665

Contents?: true

Size: 498 Bytes

Versions: 6

Compression:

Stored size: 498 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 wt('buttons.save'), class: 'btn btn-primary' %>
<%= cancel_link html_options: { class: 'btn btn-default' } %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wallaby-6.1.6 app/views/wallaby/resources/_form.html.erb
wallaby-6.1.5 app/views/wallaby/resources/_form.html.erb
wallaby-6.1.4 app/views/wallaby/resources/_form.html.erb
wallaby-6.1.3 app/views/wallaby/resources/_form.html.erb
wallaby-6.1.2 app/views/wallaby/resources/_form.html.erb
wallaby-6.1.1 app/views/wallaby/resources/_form.html.erb