Sha256: 106f28140df7d18a79b2c18514c5707db23746dde0fdce9911526c6ad57675c0

Contents?: true

Size: 413 Bytes

Versions: 6

Compression:

Stored size: 413 Bytes

Contents

<% f.inputs "test", :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

6 entries across 6 versions & 1 rubygems

Version Path
goldencobra-1.4.0 app/views/goldencobra/admin/articles/_article_type.html.erb
goldencobra-1.3.4 app/views/goldencobra/admin/articles/_article_type.html.erb
goldencobra-1.2.8 app/views/goldencobra/admin/articles/_article_type.html.erb
goldencobra-1.2.0 app/views/goldencobra/admin/articles/_article_type.html.erb
goldencobra-1.1.0 app/views/goldencobra/admin/articles/_article_type.html.erb
goldencobra-1.0.9.3 app/views/goldencobra/admin/articles/_article_type.html.erb