Sha256: 7beaec96cd5b71955ccf4703608c645445270d794c1e77c21c6737e4215b3eb6
Contents?: true
Size: 1.49 KB
Versions: 15
Compression:
Stored size: 1.49 KB
Contents
<div id="workflow" class="tab-pane"> <div class="panel panel-default labels"> <%= simple_form_for collection_permission_template_form_for(form: @form), url: [hyrax, :admin, @form, :permission_template], html: { id: 'form_workflows', class: 'nav-safety' } do |f| %> <% if f.object.available_workflows.any? %> <div class="card-body"> <p><%= t('.page_description') %></p> <%= f.collection_radio_buttons :workflow_id, f.object.available_workflows, :id, :label, item_wrapper_tag: :div, item_wrapper_class: "radio" do |b| %> <span><%= b.radio_button + b.object.label %></span> <p><%= b.object.description %></p> <% end %> </div> <div class="card-footer d-flex justify-content-end"> <%= f.button :submit, class: 'btn btn-primary text-white mr-2'%> <%= link_to t('.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light'%> </div> <% else %> <div class="card-body"> <p><%= t('.no_workflows') %></p> </div> <% end %> <% end %> </div> </div>
Version data entries
15 entries across 15 versions & 1 rubygems