Sha256: a9d61fd4b75738c285bdf18a3cb61718c400ddaf1ca328142397edb7647bdba4

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

<section class='new-link'>
  <form action='/+/links' method='POST'>
    <p><input type='text' name='url' placeholder='https://...' class='new-link-url'></p>
    <p class='new-link-down'>⬇︎</p>
    <p><input type='text' name='name' placeholder='Short name' class='new-link-name'></p>
    <p><input type='submit' value='Shorten'></p>
  </form>
</section>

<div class='infos'>
  <% if notice_message %>
    <section>
      <h3>Notice</h3>
      <%== notice_message %>
    </section>
  <% end %>
  <section>
    <h3>Usage</h3>
    <form action='/+' method='GET'>
      <p>Edit a link: <input type='text' name='show' placeholder='name...'> <input type='submit' value='Go'></p>
    </form>
    <p>Or add + (plus) sign after the URL like: <%= base_url %>/something → /something+</p>
  </section>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
corpshort-0.1.0 app/views/index.erb