Sha256: f21eee1c90fdf1bd44954c649ea6b5e85aed377ded39441f3ca1886bde3a39c5

Contents?: true

Size: 606 Bytes

Versions: 13

Compression:

Stored size: 606 Bytes

Contents

<% content_for "modal_for_#{attribute}" do %>

  <% new_page_title = Typus::I18n.t("Add %{resource}", :resource => attribute.titleize.singularize) %>

  <div id="modal-from-dom-<%= attribute_id %>" class="modal hide fade">
    <div class="modal-header">
      <a class="close" data-dismiss="modal">&times;</a>
      <h3><%= new_page_title %></h3>
    </div>

    <div class="modal-body"></div>

    <div class="modal-footer">
      <% html_options = { :id => "modal-form-submit", :class => "btn btn-primary" } %>
      <%= link_to Typus::I18n.t("Save"), "#", html_options %>
    </div>
  </div>

<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta12 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta11 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta10 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta9 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta8 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta7 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta6 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta5 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta4 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta3 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta2 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb
brainsome_typus-4.0.0.beta1 app/views/admin/templates/modals/_has_and_belongs_to_many.html.erb