This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/links/_show.html.erb

37 lines
1.2 KiB
Plaintext

<%= flash_messages %>
<div class="control-group">
<label class="control-label"><%= t(:url) %></label>
<div class="controls">
<%= @item.name %>
<!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> -->
</div>
</div>
<% @site_valid_locales.each do |locale| %>
<div class="control-group">
<label class="control-label"><%= t(:title) %></label>
<div class="controls">
<%= @item.title_translations[locale] if @item.title %>
<!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> -->
</div>
</div>
<% end %>
<div class="control-group">
<label class="control-label"><%= t(:is_published) %></label>
<div class="controls">
<%= @item.is_published.to_s %>
<!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> -->
</div>
</div>
<div class="control-group">
<label class="control-label"><%= t(:url) %></label>
<div class="controls">
<%= @item.url %>
<!-- <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p> -->
</div>
</div>
<%= link_to t(:edit), edit_admin_link_path(@item), :class => 'nav' %>