Sha256: 6d259d31955dc435bc2133df82376be0977e7ecc7ee7765ec393ed6c7acd81ae

Contents?: true

Size: 759 Bytes

Versions: 2

Compression:

Stored size: 759 Bytes

Contents

<%
# /home/dk/docu/app/views/restful/show.html.erb
 # Template for RowsController (show)
 # Requires resource model_name model_symbol
 #   partial 'form' template

  content_for(:submit_left) { link_to t('button.back', :default => 'Back'),
			      url_for(:action => :index), class: 'button' }
  content_for(:submit_right) { link_to t('button.edit', :default => 'Edit'),
			      url_for(:action => :edit), class: 'button' }
%>

<%= render '/shared/error_explanation' %>

<fieldset class="show wide mask" id="<%= model_symbol %>" >
  <legend>
    <%= t('ui.show', :model => model_name,
	  :default => 'Show %{model}') %>
  </legend>
  <%= form_for resource do |f| %>
    <%= render 'form', :f => f %>
    <%= render '/rows/submit' %>
  <% end %>
</fieldset>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rows_controller-0.4.4 app/views/rows/show.html.erb
rows_controller-0.4.3 app/views/rows/show.html.erb