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
Raw Normal View History

2011-05-13 01:08:42 +00:00
<%= flash_messages %>
2012-09-12 11:12:50 +00:00
<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>
2011-05-13 01:08:42 +00:00
<% @site_valid_locales.each do |locale| %>
2012-09-12 11:12:50 +00:00
<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>
2011-05-13 01:08:42 +00:00
<% end %>
2012-09-12 11:12:50 +00:00
<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>
2011-05-13 01:08:42 +00:00
2012-09-12 11:12:50 +00:00
<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>
2011-05-13 01:08:42 +00:00
<%= link_to t(:edit), edit_admin_link_path(@item), :class => 'nav' %>