Sha256: f242ba2093217df93d7a679ef491c5642765f95b71ccf6622162a8b9a8da0374

Contents?: true

Size: 719 Bytes

Versions: 47

Compression:

Stored size: 719 Bytes

Contents

<%= form_for environment do |f| %>
  <%= base_errors_for environment %>
  <ul class="nav nav-tabs" data-tabs="tabs">
    <li class="active"><a href="#primary" data-toggle="tab"><%= _('Environment') %></a></li>
    <% if show_location_tab? %>
      <li><a href="#locations" data-toggle="tab"><%= _('Locations') %></a></li>
    <% end %>
    <% if show_organization_tab? %>
      <li><a href="#organizations" data-toggle="tab"><%= _('Organizations') %></a></li>
    <% end %>
  </ul>

  <div class="tab-content">
    <div class="tab-pane active" id="primary">
      <%= text_f f, :name %>
    </div>
    <%= render 'taxonomies/loc_org_tabs', :f => f, :obj => environment %>
  </div>
  <%= submit_or_cancel f %>
<% end %>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
foreman_puppet-1.0.1 app/views/foreman_puppet/environments/_form.html.erb
foreman_puppet-1.0.0 app/views/foreman_puppet/environments/_form.html.erb
foreman_puppet-1.0.0.rc.2 app/views/foreman_puppet/environments/_form.html.erb
foreman_puppet-1.0.0.rc.1 app/views/foreman_puppet/environments/_form.html.erb
foreman_puppet-0.1.0 app/views/foreman_puppet/environments/_form.html.erb
foreman_puppet-0.0.2 app/views/foreman_puppet/environments/_form.html.erb
foreman_puppet-0.0.1 app/views/foreman_puppet/environments/_form.html.erb