Sha256: be6f41edd64eb1c4396013224133109a87793a7c8e49956132852137dde16450

Contents?: true

Size: 1.34 KB

Versions: 16

Compression:

Stored size: 1.34 KB

Contents

<% content_for :page_title do %>
  <h1>Create a stack</h1>
<% end %>

<div class="wrapper">
  <section>
    <div class="setting-section">
      <%= form_for @stack do |f| %>
        <div class="field-wrapper">
          <%= label_tag "Repo" %>
          <br>
          <%= Shipit.github.url %>
          /
          <%= f.text_field :repo_owner, placeholder: 'e.g. Shopify', required: true, class: "repo" %>
          /
          <%= f.text_field :repo_name, required: true, pattern: "^[a-zA-Z0-9\-_\.]+$", class: "repo" %>
        </div>
        <div class="field-wrapper">
          <%= f.label :branch %>
          <%= f.text_field :branch, placeholder: 'master' %>
        </div>
        <div class="field-wrapper">
          <%= f.label :environment %>
          <%= f.text_field :environment, placeholder: 'production' %>
        </div>
        <div class="field-wrapper">
          <%= f.label :deploy_url %>
          <span class="form-hint"><small>Where is this stack deployed to?</small></span>
          <%= f.text_field :deploy_url, placeholder: 'https://' %>
        </div>
        <div class="field-wrapper">
          <%= f.check_box :ignore_ci %>
          <%= f.label :ignore_ci, "Allow deploys regardless of CI status" %>
        </div>
        <div class="field-wrapper"><%= f.submit class: 'btn' %></div>
      <% end %>
    </div>
  </section>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
shipit-engine-0.33.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.32.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.31.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.30.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.29.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.28.1 app/views/shipit/stacks/new.html.erb
shipit-engine-0.28.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.27.1 app/views/shipit/stacks/new.html.erb
shipit-engine-0.27.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.26.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.25.1 app/views/shipit/stacks/new.html.erb
shipit-engine-0.25.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.24.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.23.1 app/views/shipit/stacks/new.html.erb
shipit-engine-0.23.0 app/views/shipit/stacks/new.html.erb
shipit-engine-0.22.0 app/views/shipit/stacks/new.html.erb