Sha256: e3de05de483fd7ce19dba7eb80a34739a7e19ab0a101296b8d62358ddca8a9dd
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
<h1><%= flaggable_type.capitalize %> <%= flag_verb %> <%= feature_name %></h1> <%= table do %> <thead> <tr> <th></th> <th><%= flaggable_class.detour_flaggable_find_by %></th> </tr> </thead> <%= render partial: "flaggable_flag", collection: @flags, as: :flag %> <% end %> <%= content_tag :span, "Create #{flag_title.indefinitize}", class: "btn btn-default pull-left", data: { toggle: "modal", target: "#create-flaggable-flag" } %> <%= modal title: "Create #{flag_title.indefinitize}", id: "create-flaggable-flag", fade: true do %> <%= form_tag request.path, remote: true do |form| %> <%= text_field_tag :ids, "", class: "form-control" %> <%= modal_footer do %> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <%= submit_tag "Create #{flag_title}", class: "btn btn-default btn-primary" %> <% end %> <% end %> <% end %> <%= modal title: "Delete #{flag_title}", id: "delete-flag" do %> <p>Are you sure you want to delete <%= feature_name %> <%= flag_type.dasherize %> for <%= flaggable_class %> <span class="flaggable-identifier"></span>?</p> <%= modal_footer do %> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <%= link_to "Delete #{flag_title}", "javascript:void(0)", method: :delete, class: "btn btn-danger" %> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
detour-0.0.3 | app/views/detour/flaggable_flags/index.html.erb |
detour-0.0.2 | app/views/detour/flaggable_flags/index.html.erb |