Sha256: fae389680dd25c6cf65b2b163e07bb455891dd34d4412fbccf58f1cfd9c3bfe4

Contents?: true

Size: 1.41 KB

Versions: 22

Compression:

Stored size: 1.41 KB

Contents

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

        <% presenter.workflow.actions.each do |key, label| %>
          <div class="radio">
            <label>
              <input type="radio" name="workflow_action[name]" id="workflow_action_name_<%= key %>" value="<%= key %>">
              <%= 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>
    <% end %>
  </div>
</div>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.3 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-1.1.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.2 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-1.0.5 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-1.0.4 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-1.0.3 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-1.0.2 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-1.0.1 app/views/hyrax/base/_workflow_actions.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/base/_workflow_actions.html.erb