Sha256: 234e2214dbc6b93298c76704933eff92d913033aa220014045754b5b59d91907

Contents?: true

Size: 1.05 KB

Versions: 11

Compression:

Stored size: 1.05 KB

Contents

<%= simple_form_for [:backend, model] do |f| %>
  <div class="row">
    <div class="col-md-6">
      <div class="card">
        <div class="card-header">
          <%= t 'b.general' %>
        </div>

        <div class="card-block">
          <%= f.input :source_uri %>
          <%= f.input :destination_uri %>
          <%= f.input :disabled, as: :boolean %>
        </div>
      </div>
    </div>

    <div class="col-md-6">
      <div class="card">
        <div class="card-header">
          <%= t 'b.advanced' %>
        </div>
        <div class="card-block">
          <%= f.input :status_code, collection: model.status_code_collection %>

          <div class="alert alert-info">
            <%= icon :info, t('b.msg.help_texts.status_code') %>
            <% wiki_link = 'https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection' %>
            <%= link_to wiki_link, wiki_link, target: '_blank' %>
          </div>
        </div>
      </div>
    </div>
  </div>

  <%= render 'backend/form_actions', cancel_url: backend_redirects_path %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
udongo-2.0.4 app/views/backend/redirects/_form.html.erb
udongo-2.0.3 app/views/backend/redirects/_form.html.erb
udongo-2.0.2 app/views/backend/redirects/_form.html.erb
udongo-2.0.1 app/views/backend/redirects/_form.html.erb
udongo-2.0.0 app/views/backend/redirects/_form.html.erb
udongo-1.0.4 app/views/backend/redirects/_form.html.erb
udongo-1.0.3 app/views/backend/redirects/_form.html.erb
udongo-1.0.2 app/views/backend/redirects/_form.html.erb
udongo-1.0.1 app/views/backend/redirects/_form.html.erb
udongo-1.0.0 app/views/backend/redirects/_form.html.erb
udongo-0.1.0 app/views/backend/redirects/_form.html.erb