Sha256: 5871fc0ac63e7928653dfdb72c72c16ca575de4992d5bc9132a2ec484141597d

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

<% f.inputs I18n.t('active_admin.articles.views.article_type.input'), :class => "" do %>
  <h3 class="goldencobra_article_article_type">
    <% if f.object.article_type.present? %>
      <%= I18n.t("#{f.object.article_type.parameterize}", scope: [:article_types]) %><%= " : #{f.object.public_url}" if f.object.title.present? %>
    <% else %>
      <span>Standard<%= " : #{f.object.public_url}" if f.object.title.present? %></span>
    <% end %>
  </h3>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
goldencobra-1.4.27 app/views/goldencobra/admin/articles/_article_type.html.erb