Sha256: 3a8807526e74dd7eb844af83889aba8702b08687171197c9c0188e5b78869c60

Contents?: true

Size: 783 Bytes

Versions: 15

Compression:

Stored size: 783 Bytes

Contents


<%= twitter_bootstrap_form_for :group, :url => "./", :method => (@group ? :put : :post),:html => {:id => "edit-group-form",:class => 'form-horizontal'} do |f| %>

  <%= f.fieldset "Group" do %>
    <%= f.text_field :name, "Name" %>
  <% end %>
  
  
  <%= f.actions do %>
    <%= f.submit @group ? 'Save' : "Create" %>
    <%= button_tag  'Cancel', :onclick => "document.location = '#{edit_menu_path(@menu)}'; return false;", :class => 'btn' %>
    <% if @group %>
      <%= button_tag  'Remove', :onclick => "$('#remove-link').click(); return false;", :class => 'btn btn-warning' %>
      <%= link_to 'Destroy', menu_group_path(@menu,@group), :confirm => 'Are you sure?', :id => 'remove-link', :method => :delete, :style => "display: none;" %>
    <% end %>
  <% end %>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
burp_cms-1.3.14 app/views/burp/groups/edit.html.erb
burp_cms-1.3.13 app/views/burp/groups/edit.html.erb
burp_cms-1.3.12 app/views/burp/groups/edit.html.erb
burp_cms-1.3.11 app/views/burp/groups/edit.html.erb
burp_cms-1.3.10 app/views/burp/groups/edit.html.erb
burp_cms-1.3.9 app/views/burp/groups/edit.html.erb
burp_cms-1.3.8 app/views/burp/groups/edit.html.erb
burp_cms-1.3.7 app/views/burp/groups/edit.html.erb
burp_cms-1.3.6 app/views/burp/groups/edit.html.erb
burp_cms-1.3.5 app/views/burp/groups/edit.html.erb
burp_cms-1.3.4 app/views/burp/groups/edit.html.erb
burp_cms-1.3.3 app/views/burp/groups/edit.html.erb
burp_cms-1.3.2 app/views/burp/groups/edit.html.erb
burp_cms-1.3.1 app/views/burp/groups/edit.html.erb
burp_cms-1.3.0 app/views/burp/groups/edit.html.erb