Sha256: bb8d48dae12302ab47b9426278c4e0d5116c4f2451a12bf621a21e2e23314da3

Contents?: true

Size: 1.42 KB

Versions: 14

Compression:

Stored size: 1.42 KB

Contents

<% if not logged_in? %>
  <!-- Nothing to see here... -->

<% elsif not room_for_new_jiras? %>
  <h3 class="ops-queues-are-full">Sorry, we&#8217;re out of room</h3>
  <p class="ops-queues-are-full">
    Ops has reached the maximum number of JIRAs filed for the next couple
    of days. If you think your request is urgent feel free to stop by one
    of our desks. Otherwise, maybe fight amongst yourselves?</p>

<% else %>
  <form method="post" action="/" data-abide>
    <fieldset>
      <div class="row">
        <div class="small-12 columns">
          <input type="text" id="jira-summary" name="jira-summary" required value="" placeholder="Summary (required)" />
        </div>
        <div class="small-12 columns">
          <textarea id="jira-description" name="jira-description" placeholder="Description (optional)"></textarea>
        </div>
      </div>
      <div class="row actions">
        <div class="small-8 columns">
          <input type="checkbox" name="jira-assign_to_me" id="jira-assign_to_me" />
          <label for="jira-assign_to_me">Assign to me</label>
          <% if ops? %>
            <input type="checkbox" name="jira-ops_only" id="jira-ops_only" />
            <label for="jira-ops_only">Ops Only</label>
          <% end %>
        </div>
        <div class="small-4 columns">
          <input type="submit" value="Submit" class="button tiny submit alert" />
        </div>
      </div>
    </fieldset>
  </form>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
opsask-2.1.4 views/_form.erb
opsask-2.1.3 views/_form.erb
opsask-2.1.2 views/_form.erb
opsask-2.1.1 views/_form.erb
opsask-2.1.0 views/_form.erb
opsask-2.0.14 views/_form.erb
opsask-2.0.13 views/_form.erb
opsask-2.0.12 views/_form.erb
opsask-2.0.11 views/_form.erb
opsask-2.0.10 views/_form.erb
opsask-2.0.9 views/_form.erb
opsask-2.0.8 views/_form.erb
opsask-2.0.7 views/_form.erb
opsask-2.0.6 views/_form.erb