denny/ShinyCMS-ruby

View on GitHub
plugins/ShinyAccess/app/views/shiny_access/admin/groups/edit.html.erb

Summary

Maintainability
Test Coverage
<%= form_for @group, url: shiny_access.group_path( @group ), method: :put do |f| %>
  <p>
    <%= f.label :internal_name %>
    <br><%= f.text_field :internal_name %>
  </p>
  <p>
    <%= f.label :public_name %>
    <br><%= f.text_field :public_name %>
  </p>
  <p>
    <%= f.label :slug %>
    <br><%= f.text_field :slug %>
  </p>
  <p>
    <%= f.label :description %>
    <br><%= f.text_area :description %>
  </p>

  <p class="top-margin">
    <%= submit_tag t( 'update' ) %>
  </p>
<% end %>