Sha256: d191d3256db4c97abe1ef1760283e636cb681c1a62f1cd71b66e83d79f8a9d5c
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
<%= form_for(@permission) do |f| %> <% if @permission.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@permission.errors.count, "error") %> prohibited this permission from being saved:</h2> <ul> <% @permission.errors.full_messages.each do |message| %> <li><%= message %></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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
request_refinery-0.0.2 | app/views/request_refinery/permissions/_form.html.erb |
request_refinery-0.0.1 | app/views/request_refinery/permissions/_form.html.erb |