Sha256: f5756af9304b62f1af32224a5500886a2c9e2d339f60ac65fc256d88e4bb7045

Contents?: true

Size: 1.42 KB

Versions: 13

Compression:

Stored size: 1.42 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.curation_concerns_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

13 entries across 13 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.7 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-2.0.0 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-2.0.0.rc2 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.6 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.5 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.4 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.3 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.2 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-2.0.0.rc1 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.1 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.0 app/views/curation_concerns/base/_workflow_actions.html.erb
curation_concerns-1.7.0.beta1 app/views/curation_concerns/base/_workflow_actions.html.erb