Sha256: 95e933da9baaa4da71eb57927b0ba8b679f36b9b0d7ee76c4615e0fd0df962e4

Contents?: true

Size: 879 Bytes

Versions: 4

Compression:

Stored size: 879 Bytes

Contents

<section class="section">
  <div class="container">
    <h1 class="title">
      Admin New Link
    </h1>

    <%= form_for @link, url: admin_links_path(@link), method: :post do |f| %>
      <div class="field">
        <div class="control">
          <%= f.label :url, class: 'label' %>
          <%= f.text_field :url, class: 'input' %>
        </div>
      </div>

      <div class="field">
        <div class="control">
          <%= f.label :description, class: 'label' %>
          <%= f.text_field :description, class: 'input' %>
        </div>
      </div>

      <div class="field is-grouped">
        <div class="control">
          <%= f.submit 'Create Link', class: 'button is-link' %>
        </div>
        <div class="control">
          <%= link_to('Back', admin_links_path, class: 'button is-text') %>
        </div>
      </div>
    <% end %>
  </div>
</section>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stenographer-rails-0.7.4 app/views/stenographer/admin/links/new.html.erb
stenographer-rails-0.7.3 app/views/stenographer/admin/links/new.html.erb
stenographer-rails-0.7.1 app/views/stenographer/admin/links/new.html.erb
stenographer-rails-0.7.0 app/views/stenographer/admin/links/new.html.erb