Sha256: b9725f9c52f776b2b440791f2074e0ace4a476e0c93bb7a2d4cd536d42b52a87

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

<%% html = capture do %>
  <h3 class="title"><%%= l(:label_<%= singular_table_name %>) %></h3>

  <div class="box">
<% attributes.each do |attribute| -%>
    <p>
      <b><%= attribute.human_name %>:</b>
      <%%= @<%= singular_table_name %>.<%= attribute.name %> %>
    </p>
<% end -%>
  </div>

  <p class="buttons">
    <%%= submit_tag l(:button_cancel), <%= key_value :onclick, '"hideModal(this);"' %>, <%= key_value :type, '"button"' %> %>
  </p>
<%% end %>

$("#ajax-modal").html("<%%= j html %>").find(".box").css("z-index", "auto");
showModal("ajax-modal", "600px");

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine-generators-0.0.1 lib/redmine/generators/templates/rails/scaffold/show.js.erb