Sha256: 3e5f643c3e7f1b51afc04e0e7fde2f35b29c4703dc6ed20a6adfe6b1869e5858
Contents?: true
Size: 502 Bytes
Versions: 6
Compression:
Stored size: 502 Bytes
Contents
<%= form_for([:admin, @role]) do |f| %> <% if @role.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@role.errors.count, "error") %> prohibited this role from being saved:</h2> <ul> <% @role.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems