Sha256: 15602c8dcf3db910867ca77305a6c49533d90210c86330fa0832962eb8212e6c

Contents?: true

Size: 668 Bytes

Versions: 31

Compression:

Stored size: 668 Bytes

Contents

<%= alchemy_form_for [:admin, @legacy_page_url ||= @page.legacy_urls.build],
  id: 'new_legacy_page_url' do |f| %>
  <% if @legacy_page_url.errors.any? %>
    <%= render_message :error do %>
      <%= @legacy_page_url.errors.full_messages.join %>
    <% end %>
  <% end %>
  <%= hidden_field_tag :page_id, @page.id %>
  <div class="inline-input">
    <div class="left-column">
      <%= f.text_field :urlname, placeholder: Alchemy::LegacyPageUrl.human_attribute_name(:urlname) %>
    </div>
    <div class="right-column">
      <button class="with_icon">
        <%= render_icon(:create) %>
        <%= Alchemy.t(:add) %>
      </button>
    </div>
  </div>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/legacy_page_urls/_new.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/legacy_page_urls/_new.html.erb