Sha256: c4e09f7d0ba1c11355f5a79ae2007a6f830db2f5f2b61667cc796db964d857fe

Contents?: true

Size: 762 Bytes

Versions: 6

Compression:

Stored size: 762 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.edit', :default => 'Edit'),
			      url_for(:action => :edit) }
  content_for(:submit_left) { ' | ' }
  content_for(:submit_left) { link_to t('button.back', :default => 'Back'),
			      url_for(:action => :index) }
%>

<%= 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

6 entries across 6 versions & 1 rubygems

Version Path
rows_controller-0.4.2 app/views/rows/show.html.erb
rows_controller-0.4.1 app/views/rows/show.html.erb
rows_controller-0.3.2 app/views/rows/show.html.erb
rows_controller-0.2.4 app/views/rows/show.html.erb
rows_controller-0.2.3 app/views/rows/show.html.erb
rows_controller-0.1.0 app/views/rows/show.html.erb