Sha256: 1f927619e5f6774d4f2027531d7f7b4afd72e82ff77f7cccdb07183d24b78538
Contents?: true
Size: 859 Bytes
Versions: 110
Compression:
Stored size: 859 Bytes
Contents
<%= @tag_begin %>= form_for @<%= @resource %> do |f| <%= @tag_end %> <%= @tag_begin %> if @<%= @resource %>.errors.any? <%= @tag_end %> <div class="errors"> <ul> <%= @tag_begin %> @<%= @resource %>.errors.full_messages.each do |msg| <%= @tag_end %> <li><%= @tag_begin %>= msg <%= @tag_end %></li> <%= @tag_begin %> end <%= @tag_end %> </ul> </div> <%= @tag_begin %> end <%= @tag_end %> <table> <% @model_class.columns.each do |column| -%> <% next if %w{ id deleted created_at updated_at }.include?(column.name.to_s) -%> <tr> <th><%= @tag_begin %>= f.label :<%= column.name %> <%= @tag_end %></th> <td><%= @tag_begin %>= f.text_field :<%= column.name %> <%= @tag_end %></td> </tr> <% end -%> </table> <%= @tag_begin %>= f.submit <%= @tag_end %> <%= @tag_begin %> end <%= @tag_end %>
Version data entries
110 entries across 110 versions & 1 rubygems