Sha256: 9a6dad5ca91b72b7834ff5c3d235a91097f674ccbdb1eeb5ddf468d2073d69bf

Contents?: true

Size: 1.42 KB

Versions: 33

Compression:

Stored size: 1.42 KB

Contents

<div id="workflow_controls" class="panel panel-workflow">
  <div class="panel-heading">
    <a data-toggle="collapse" href="#workflow_controls_collapse">
      <h2 class="panel-title">Review and Approval <i class="fa fa-chevron-right pull-right"></i></h2>
    </a>
  </div>
  <%= form_tag main_app.hyrax_workflow_action_path(presenter), method: :put do %>
    <div id="workflow_controls_collapse" class="panel-body panel-collapse collapse">
      <div class="col-sm-3 workflow-actions">
        <h3>Actions</h3>

        <% presenter.workflow.actions.each do |key, label| %>
          <div class="radio">
            <label>
              <%= radio_button_tag 'workflow_action[name]', key, key == 'comment_only' %>
              <%= label %>
            </label>
          </div>
        <% end %>
      </div>
      <div class="col-sm-9 workflow-comments">
        <div class="form-group">
          <label for="workflow_action_comment">Review comment:</label>
          <textarea class="form-control" name="workflow_action[comment]" id="workflow_action_comment"></textarea>
        </div>

        <input class="btn btn-primary" type="submit" value="Submit" />

        <h4>Previous Comments</h4>
        <dl>
          <% presenter.workflow.comments.each do |comment| %>
            <dt><%= comment.name_of_commentor %></dt>
            <dd><%= comment.comment %></dd>
          <% end %>
        </dl>
      </div>
    </div>
  <% end %>
</div>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.9.5 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.9.4 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.9.3 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.9.2 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.9.1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.9.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.8.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.7.2 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.7.1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.7.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.6.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.5.1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.5.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.4.1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.4.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.3.3 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.3.2 app/views/hyrax/base/_workflow_actions.html.erb