denny/ShinyCMS-ruby

View on GitHub
plugins/ShinyCMS/app/views/shinycms/admin/consent_versions/new.html.erb

Summary

Maintainability
Test Coverage
<%= form_for @consent_version, url: consent_versions_path, method: :post do |f| %>
  <p>
    <%= f.label :name %>
    <br><%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :slug %>
    <br><%= f.text_field :slug %>
  </p>
  <p>
    <%= f.label :display_text %>
    <br><%= f.text_area :display_text %>
  </p>
  <p>
    <%= f.label :admin_notes %>
    <br><%= f.text_area :admin_notes %>
  </p>

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